oswatcher enhance request
I just have enhance request for oswatcher because I think that using "top -c" would show more accurately which process is behind let say oracle process.
For example:
without -c
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2900 root 20 0 64200 1436 976 S 2.0 0.0 0:07.19 OSWatcher.sh
8920 oracle -2 0 1073m 15m 13m S 2.0 0.2 0:29.88 oracle
10853 oracle -2 0 2279m 15m 13m S 2.0 0.2 0:29.08 oracle
11284 oracle -2 0 1751m 15m 13m S 2.0 0.2 0:28.58 oracle
18791 root 20 0 12940 1180 764 R 2.0 0.0 0:00.04 top
4667 grid 20 0 485m 14m 12m S 1.0 0.1 0:00.38 oracle
with -c
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
13151 oracle 20 0 4466m 1.1g 1.1g S 54.9 11.1 17:44.68 oraclepisrazd (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=b
For example:
without -c
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2900 root 20 0 64200 1436 976 S 2.0 0.0 0:07.19 OSWatcher.sh
8920 oracle -2 0 1073m 15m 13m S 2.0 0.2 0:29.88 oracle
10853 oracle -2 0 2279m 15m 13m S 2.0 0.2 0:29.08 oracle
11284 oracle -2 0 1751m 15m 13m S 2.0 0.2 0:28.58 oracle
18791 root 20 0 12940 1180 764 R 2.0 0.0 0:00.04 top
4667 grid 20 0 485m 14m 12m S 1.0 0.1 0:00.38 oracle
with -c
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
13151 oracle 20 0 4466m 1.1g 1.1g S 54.9 11.1 17:44.68 oraclepisrazd (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=b
1