I need to write a script capable of identifying when a high cpu utilitzation process.
You could build something around the following command (read the man-page of "ps" for an explanation of the options used:
Basically this lists CPU consumption (pcpu) and virtual memory consumption (vsz) for each process and sorts for CPU consumption.
Quote:
Originally Posted by arizah
but what really is confusing me that even I take the CPU% and then add them all together the number I get is not near close to what I can see in Topas or nmon.
I would like to write shell/perl script which identifies the top unix processes that are performing high disk I/O's or/and writes
If any one knows the solution please help me?
-Swamy (0 Replies)
I am running a Dell PE R815 with 4 x AMD 12 core CPUs with 128GB of RAM and a RAID 5 array of 6 SAS disks. This is an HPC application and is definitely CPU bound, however once I run 16 of these processes (thus pinning 16 cores) the work performed slows down dramatically, to maybe 5 or 10% of what... (2 Replies)
We are using linux server. We have below script running on the crontab and it send the alert if the cpu usage is above 90%.
My question is, the below script tells the CPU usage for one CPU or all CPU in the server?
sar 1 1 | sed '$!d' | awk '{printf("%d", $8)}' > $SAR_LOG
Please let me... (4 Replies)
Hi All,
Yesterday my Linux server went panic and even a small command took a lot of time to run.
When i monitored pl find the below output
Cpu(s): 0.1%us, 98.4%sy, 0.0%ni, 1.5%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
the time spent on kernel mode is 98 % and also idle time is around 1.5 %...... (4 Replies)
Hi All,
Anyone has script to monitor AIX total processes memory and cpu usage that contribute to the total memory and CPU utilize so far ?
The purpose of this is to analyze process memory trend.
Thanks.
Best Regards,
ckwan (2 Replies)
Dear All,
One production Server is affected by high usage.
Application is slow now. Please guide me how to solve it?
NMON Report shows full cpu usage.
Here im posting some server details.
bash-3.2# lparstat -i
Node Name : *********
Partition Name ... (6 Replies)
I have created one script and i have added it into cron to run after 10 mins. However I have noted that whenever that script runs, It causes CPU utilization of server to increase about 10-20 %
I have rechecked script and there is no way i can make changes, Script contain only 2-3 commands. So... (4 Replies)
HI
In my M5000 , one of domain is having SAp installed. from today onwards we are facing some stange issue.
when we start SAP application, that particular user is taking 95 % of system CP and renaming 5 % is taken by system . because of this reason application is slow.
i have 4 CPU(32... (4 Replies)
hello all,
on linux servers sometimes any of these resources (cpu,memory,disk) get a spike when you are not in front of the server.
the duration of these spikes might be 5 mins or even whole weekend.
my question is there a good way of capturing the events that caused these issues ( cpu or... (5 Replies)
Discussion started by: coolatt
5 Replies
LEARN ABOUT DEBIAN
gfreg
GFREG(1)GFREG(1)NAME
gfreg - register a Gfarm file, Gfarm file fragments, or a Gfarm directory
SYNOPSIS
gfreg [ -p ] [ -h filesystem-node | -H hostfile | -D domainname ] [ -a architecture ] program ... gfarm-URL
gfreg [ -i ] [ -h filesystem-node | -H hostfile | -D domainname ] localfile ... gfarm-URL
gfreg -N total-num-of-fragments -I fragment-index [ -h filesystem-node | -H hostfile | -D domainname ] localfile ... gfarm-URL
gfreg -r [ -h filesystem-node | -H hostfile | -D domainname ] [ -a architecture ] [ directory | program | localfile ] ... gfarm-URL
DESCRIPTION
The first form copies and registers the program as a Gfarm file gfarm-URL in the Gfarm filesystem. When gfarm-URL is a directory, multiple
programs can be specified. After the registration, the gfarm-URL can be specified as a program name of gfrun(1) and gfmpirun_p4(1). With-
out the -p option, only executable file can be specified. With the -p option, non-executable file can be specified as well. Without the
-a option or the -h option, architecture of the program is assumed to be the same architecture as the client host on that gfreg(1) is exe-
cuted, which is obtained by the Gfarm metaserver.
The second form registers one or more localfiles as a single Gfarm file. Without the -i option, only non-executable file can be specified
as localfile. With the -i option, both excutable and non-executable file can be specified as localfile. The destination filesystem node
will be automatically selected by CPU load average. With any one of -h, -H, -D options, filesystem node can be limited.
The third form registers localfile as a file fragment of a Gfarm file. The total number of fragments and the fragment index are specified
by the -N option and the -I option, respectively. When gfarm-URL is a directory, multiple localfiles can be specified. The destination
filesystemnode will be automatically decided by CPU load average unless any one of -h, -H, -D options is explicitly specified. When the
gfreg command of this form is executed on a filesystem node, the local filesystem node is always selected rather than a remote filesys-
temnode. In this case, -h, -H, -D options help to store files dispersively.
The fourth form registers the directory as a Gfarm directory gfarm-URL, the program or the localfile as a Gfarm file gfarm-URL. If direc-
tory have some sub directories and/or files, they will be registered recursively. The non-executable file localfile will be registered as
a file has one fragment. A non-executable file in the directory will be registered in the same way. When gfarm-URL already exists as a
directory, multiple directories, programs, and localfiles can be specified and they will be registered in gfarm-URL. They can be mixed in
parameteres, while other forms inhibit this manner. If gfarm-URL does not exist, one directory or one program, or one localfile can be
specified and it will be registered as gfarm-URL. Refer to the first form's part above to specify filesystem node thatprogfarms and files
will reside with the -a option or the -h option.
OPTIONS -f overwrites gfarm-URL even if it exits as a Gfarm file.
-? displays a list of command options.
Gfarm 05 April 2006 GFREG(1)