This shows you the differences between two versions of the page.
general_help [2011/01/09 04:22] k2patel |
general_help [2020/08/10 02:35] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== General Help ====== | ||
- | |||
- | ==== How to mount procfs ==== | ||
- | |||
- | To mount procfs you need to do following. | ||
- | <code bash> | ||
- | mount -t procfs proc /proc | ||
- | </code> | ||
- | It is necessary to run command like truss on dump(core) file. | ||
- | |||
- | ==== Network Status Graph ==== | ||
- | |||
- | To check network status | ||
- | <code bash> | ||
- | nload -u m <interface> | ||
- | </code> | ||
- | |||
- | ==== Statistics of the System ==== | ||
- | |||
- | To check system statistics. | ||
- | <code bash> | ||
- | vmstat -z | ||
- | </code> | ||
- | OR | ||
- | <code bash> | ||
- | systat -v | ||
- | </code> | ||
- | |||
- | ==== Disk Activity ==== | ||
- | |||
- | To Monitor Disk activity there is command called gstat.\\ | ||
- | there is three switches. '-c' '-d' & '-I'\\ | ||
- | //-c shows consumers of geom\\ | ||
- | -d shows delete operations.\\ | ||
- | -I can define interval of refresh.\\ | ||
- | // | ||
- | |||
- | <code bash> | ||
- | gstat -I 1 -c | ||
- | </code> | ||
- | |||
- | |||
- | |||
- | ==== Cron location ==== | ||
- | Most is it is usefull when you can not use crontab command.\\ | ||
- | Cron file located @ | ||
- | <code bash> | ||
- | /var/spool/cron | ||
- | </code> | ||