how can i do that in a script withough havin the script halt at the section where the top command is located. am writign a script that will send me the out put of unx commands if the load average of a machine goes beyond the recommended number.
top -n 20
i want to save this output to a file... (1 Reply)
hi,
We have one script ‘X' which invokes another script ‘Y'. Inside X we are checking if Y is active/running or not with ps command. But for cases when Y runs for more than 1 hour the ps command inside X returns that no Y process running. Can you please guide me if in UNIX any long running process... (4 Replies)
Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold
I use top on other... (5 Replies)
I'm using top to view processes. But, I do not know how to scroll down the list to view what is not showed in the terminal window. Anyone know how to do this? (1 Reply)
I m using following command to find top 10 cpu consuming processes.
However whenever i execute the command i get
following warning.
What can be done to avoid it?
# ps -auxf | sort -nr -k 3 | head -10
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
root ... (6 Replies)
ps -eo pid,comm,%cpu lists all processes (in increasing PID number).
How to get only the top-10 most CPU intensive ones? I know about top: this is BASH exercise.
I tried redirecting above code to cut ps -eo pid,comm,%cpu | cut -f2but ps' output isn't TAB delimited. How can I otherwise use... (5 Replies)
When I run 'top' command,I see the following
Memory: 32G real, 12G free, 96G swap free
Though it shows as 12G free,I am not able to account for processes that consume the rest 20G.
In my understanding some process should be consuming atleast 15-16 G but I am not able to find them.
Is... (1 Reply)
Hi All,
O/S: Linux 86x64 Red Hat
I have a sql script that queries top consuming processes of Linux using TOP commnd.
Now I need to automate this task and pass the top processes i.e., PID to the sql script through unix shell script.
Could anyone please let me know how to achieve this.
... (2 Replies)
hi all
sleeping processes in the following output , are they doing anything , but consuming lot of sources, should I need to kill them , how to know , , what they are doing
and the output says out of 260 processes only 9 are running , and 251 are sleeping , what does the sleeping means, can... (8 Replies)
Hello,
I have about 100 servers that I'm looking to collect information regarding top files and processes accessed within a 168 hr (1 week) period. Each server has a different purpose and so different installed applications. All servers are running either unix or linux.
What would be a... (0 Replies)
Discussion started by: umang2382
0 Replies
LEARN ABOUT DEBIAN
chalow
CHALOW(1p)CHALOW(1p)NAME
chalow - weblog tool that converts ChangeLog to HTML
SYNOPSIS
chalow [OPTION]... CHANGELOG...
DESCRIPTION
chalow is a weblog tool written in Perl. It converts ChangeLog to HTML and RSS.
The options are as follows:
-n, --top-n=NUM
write NUM days to index.html
-o, --output-dir=DIR
directory to output
-c, --configure-file=FILE
configure file
-s, --stop-date=DATE
date to stop processing
-u, --update-by-size
overwrite only if sizes are different
-C, --css=FILE
css file
-q, --quiet
quiet mode
-8, --utf8
utf8 mode
-d, --debug
debug mode
EXAMPLES
Generate index.html, cl.rdf, etc. from ChangeLog:
chalow ChangeLog
Generate index.html, cl.rdf, etc. from ChangeLog with cl.conf:
chalow -c cl.conf ChangeLog
Generate index.html, cl.rdf, etc. into the $HOME/public_html/diary directory from ChangeLog* (such as ChangeLog, ChangeLog.2, ChangeLog.old)
with cl.conf in utf8 mode:
chalow --utf8 -o $HOME/public_html/diary -c cl.conf ChangeLog*
BUGS
chalow assumes that ChangeLog file is encoded with EUC-JP or US-ASCII by default. If you want to use UTF-8, use the utf8 mode option (`-8'
or `--utf8'). Other encodings, such as ISO-8859-1, ISO-8859-15, EUC-KR, are not supported.
This manual page is provided by Debian. It is not integrated in the upstream source.
SEE ALSO
More information is available at `/usr/share/doc/chalow' on Debian systems.
July 1, 2006 CHALOW(1p)