bash-2.03$ page file-name.txt
Browse or page through a text file , just like more command.
#rup
Shows host status of remote machines
example,
bash-2.03$ rup
eqdtadm1.nam.ns up 3 days, 20:57, load average: 0.00, 0.00, 0.01
eqtmsny2-phys.n up 3 days, 6:29, load average: 0.28, 0.26, 0.26
nemap1c1.nam.ns up 3 days, 3:55, load average: 0.00, 0.01, 0.02
detnr6.nam.nsro up 85 days, 14:42, load average: 0.05, 0.05, 0.05
ptmdb2c-phys.na up 3 days, 7:06, load average: 0.06, 0.05, 0.07
ffgdb1c-2.nam.n up 96 days, 18:52, load average: 0.16, 0.18, 0.18
bash-2.03$ psrinfo -v
For Processor information on a Sun System.
bash-2.03$ showrev -p
The showrev command displays the revision of a particular patch. This helps when you install a version of the patch to check if it is the latest and/or check if it is obsolete.
bash-2.03$prstat
prtstat is top in SUN os
bash-2.03$ truss -d who
truss -d and truss -D (Solaris >= 8): These truss options show the time associated with each system call being shown by truss and is excellent for finding performance problems in custom or commercial code. For example:
plimit (Solaris >= 8):
This command displays and sets the per-process limits on a running process. This is handy if a long-running process is running up against a limit (for example, number of open files). Rather than using limit and restarting the command, plimit can modify the running process.
coreadm (Solaris >= 8): In the "old" days (before coreadm), core dumps were placed in the process's working directory. Core files would also overwrite each other. All this and more has been addressed by coreadm, a tool to manage core file creation. With it, you can specify whether to save cores, where cores should be stored, how many versions should be retained, and more. Settings can be retained between reboots by coreadm modifying /etc/coreadm.conf.
pgrep (Solaris >= 8): pgrep searches through /proc for processes matching the given criteria, and returns their process-ids. A great option is "-n", which returns the newest process that matches.
preap (Solaris >= 9): Reaps zombie processes. Any processes stuck in the "z" state (as shown by ps), can be removed from the system with this command.
pargs (Solaris >= 9): Shows the arguments and environment variables of a process
--
Night Has Ended For Another Day, Morning Has Come In A Special Way, May You Smile Like Sunny Rays,
And Leave Your Worries For Some Other Day ! Have A Nice Day....
No comments:
Post a Comment