Solaris process tool set

Source: Internet
Author: User
Solaris provides a very convenient process tool set for you to view, track, debug and control processes in the system, and improve work efficiency. This article mainly introduces the usage examples of these tools: www.2cto. com1.prstat: view the process tool set of the current system... solaris
Solaris provides a very convenient process tool set for you to view, track, debug and control processes in the system, and improve work efficiency. This article mainly introduces the usage examples of these tools:
Www.2cto.com
1. prstat: view details of all processes in the current system


2. ps: view the process status (-e: display all processes in the system;-f: view the complete process information)
Www.2cto.com

3. ptree: view the process tree of a process (parent-child process inheritance relationship)


4. pstack: view the stack information when the process is running.
This command can also perform stack analysis on the dump file core of the process, or view where the running process is suspended (process hang up)


5. pfiles: view the files opened by the process running
You can use this command to find out which configuration files are read by the process, which device files are accessed, and which files are generated.


6. pldd: view the dynamic link library of the process call


7. pargs: view the running parameters of a process.


8. ptime: view the running time of the process
You can run this command to check whether the Daemon has restarted abnormally.


The above is a process tool set that I often use in solaris software development. Other tools will not be demonstrated one by one, for more information, see manpage on solaris (man proc ).
 
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.