Proc tools:
- pflags Print the /proc tracing flags, the pending and held signals, and other /proc status information for each lwp in each process.
- pcred Print or set the credentials (effective, real, saved UIDs and GIDs) of each process.
- pldd List the dynamic libraries linked into each process, including shared objects explicitly attached using dlopen(3C). See also ldd(1).
- psig List the signal actions and handlers of each process. See signal.h(3HEAD).
- pstack Print a hex+symbolic stack trace for each lwp in each process.
- pfiles Report fstat(2) and fcntl(2) information for all open files in each process. In addition, a path to the file is reported if the information is available from /proc/pid/path. This is not necessarily the same name used to open the file. See proc(4) for more information.
- pwdx Print the current working directory of each process.
- pstop Stop each process (PR_REQUESTED stop).
- prun Set each process running (inverse of pstop).
- pwait Wait for all of the specified processes to terminate.
- ptime Time the command, like time(1), but using microstate accounting for reproducible precision. Unlike time(1), children of the command are not timed.
Other commands:
- arch display system architecture (i86pc)
- uname print name of current system (SunOS)
- pagesize display the size of pages of memory
- iostat report I/O stats for terminal, disk, tape, etc
- vmstat report virtual memory statistics
- mpstat report CPU statistics
- busstat report bus-related support statistics
- lsof list open files (sockets (lsof -i), etc.) Introductory lsof examples
- nohup run a command immune to hangups
- kstat display kernel statistics
While navigating manpages, note that Solaris uses
more to view them, which is supremely annoying. Use less with
export PAGER="less" (tip found
here).
No comments:
Post a Comment