Hi all,
I need a clarification about the top command in HP-UX.
If I run:
I see the screen refresh every 5 minutes.
From the "man top" I understand that the values displayed every 5 minutes are instantaneous, not average on the previous 5 minutes.
Is this interpretation correct?
In case I want average values "glance" is the correct tool?
Or maybe SAR is better?
Hi All,
I am running my application on a dual cpu debian linux 3.0 (2.4.19 kernel).
For my application:
<sar -U ALL>
CPU %user %nice %system %idle
...
10:58:04 0 153.10 0.00 38.76 0.00
10:58:04 1 3.88 0.00 4.26 ... (0 Replies)
hi all,
i would like to collect stat. about the cpu usage every 30 mins
so, I set up the cron job sth like
0,30 * * * * * /usr/bin/top -d 1 >> $STAT
i know cron doesn't have a TERM output, so error occurs.
any ideas or work around for this??
many thanks (3 Replies)
Ever noticed that using the top command on a multiple cpu box can often give totally misleading answers, like 230%, when you think that 100% should be the max?
Well, that's because top has a bizarre mode called "Irix mode" wherein if you have 4 cpus, the %CPU column of top can go up to 400%. I... (1 Reply)
Hi,
I am trying to get the system RAM size from "top" command's output by the following but it is not working.
top | sed "s/^Mem.**\(*\), *//" (10 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Hi,
how to put "top" command in crontab through script in
suse linux.
Below script is working fine, but it is not working when sheduled in crontab
script scheduled in cron:
health.sh
---------
#! /bin/ksh
top |head -5 >output.txt
Thanks
Suresh (3 Replies)
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Hello,
Been looking through Google, and I don't see a direct answer to this:
# last
...
abcd pts/1 srever02 Mon Feb 23 07:56 - 07:56 (00:00)
abcd sshd server02 Mon Feb 23 07:56 - 07:56 (00:00)
klmn sshd ... (2 Replies)