03-27-2008
Quote:
Originally Posted by
dj_jay_smith
So I am new to Unix, and I need to check the performance of some apps I am running. But I don't know how to interpret the output from TOP.
Could somebody please explain the difference between the different values.
this should be the starter for you:
man top
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
ksh $ETL_XXX/bin/filename.ksh wf_workflowname .
Which is used in post session command. (2 Replies)
Discussion started by: dummy_needhelp
2 Replies
2. UNIX for Dummies Questions & Answers
Hi guys,
I have no idea on unix but suddenly, my cobol programs calls a unix script that i know nothing about.
can you guys interpret these lines for me?
i know its a print command but I want to actually know how many copies it prints.
qprt -da -P $1 -t '6' -i '6' -l '70' $2
qprt -da... (1 Reply)
Discussion started by: supacow
1 Replies
3. Shell Programming and Scripting
Can someone help me out here. I can't get this piece of code to work. i.e. $ALL_EVENTS does not get interpreted in the if brackets. The first part is the code, the second part is the execution of the code. Note: $ALL_EVENTS does equal 2, but there is no value once passed to the if statement. ... (4 Replies)
Discussion started by: jwholey
4 Replies
4. AIX
Is there a 'top' command equivalent in AIX 4.2 ?
I already checked and I do not see the following ones anywhere:
top
nmon
topas (1 Reply)
Discussion started by: Browser_ice
1 Replies
5. AIX
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)
Discussion started by: thenomad
5 Replies
6. Shell Programming and Scripting
Was wondering if someone could interpret this for me -- I'm not sure what everything means. It's a shell script from my bash book:
cd ()
{
builtin cd "$@"
es=$?
echo "$OLDPWD ->$PWD"
return $es
}
what I don't quite understand is the "$@". I think, if I understand... (6 Replies)
Discussion started by: Straitsfan
6 Replies
7. UNIX for Dummies Questions & Answers
I know $0 is the entire file's contents (at least I think that is what it is!), but what exactly is: $0!~
This was a snippet from a larger line
awk '$0!~/^$/ {print $0}'
This deletes blank lines, but I want to know specifically the $0!~ part... I am guessing /^$/ is regex for blank line...... (5 Replies)
Discussion started by: glev2005
5 Replies
8. Shell Programming and Scripting
Can anyone tell me how to interpret this:
listpage="ls |more" (the spaces are there in the example)
$listpage
It's from my bash book and I'm not sure what it means (3 Replies)
Discussion started by: Straitsfan
3 Replies
9. UNIX for Dummies Questions & Answers
hi All,
i have never used sed in Unix environment, but i have one script which is using this following command:
cat audit_session_rpt_MSP_20140331.lst|sed -n '/Apr 14/!p'| sed -n '/Page/!p'| sed -n '/UserName/!p' |\
egrep -v '^-|^=|^\*'|sed '/^$/d'|sed -e '1,7d'... (1 Reply)
Discussion started by: lovelysethii
1 Replies
10. UNIX for Beginners Questions & Answers
I booted into single user mode with
/usr/sbin/reboot -- -s
but after doing a control -d
my
who -r
shows
run-level 3 Nov 17 14:07 3 0 S
I was expecting it to show run-level S
why is this still in run level 3?
thanks (1 Reply)
Discussion started by: goya
1 Replies
LEARN ABOUT DEBIAN
autoheader2.13
AUTOHEADER(1) General Commands Manual AUTOHEADER(1)
NAME
autoheader2.13 - creates a template file of C #define's for use by configure.
SYNOPSIS
autoheader2.13 [ --help | -h ] [ --localdir=dir | -l dir ] [ --macrodir=dir | -m dir ] [ --version ]
DESCRIPTION
The autoheader2.13 program can create a template file of C #define statements for configure to use. If configure.in invokes AC_CON-
FIG_HEADER(FILE), autoheader2.13 creates FILE.in; if multiple file arguments are given, the first one is used. Otherwise, autoheader2.13
creates config.h.in.
If you give autoheader2.13 an argument, it uses that file instead of configure.in and writes the header file to the standard output instead
of to config.h.in. If you give autoheader2.13 an argument of -, it reads the standard input instead of configure.in and writes the header
file to the standard output.
autoheader2.13 scans configure.in and figures out which C preprocessor symbols it might define. It copies comments and #define and #undef
statements from a file called acconfig.h, which comes with and is installed with Autoconf. It also uses a file called acconfig.h in the
current directory, if present. If you AC_DEFINE any additional symbols, you must create that file with entries for them. For symbols
defined by AC_CHECK_HEADERS, AC_CHECK_FUNCS, AC_CHECK_SIZEOF, or AC_CHECK_LIB, autoheader2.13 generates comments and #undef statements
itself rather than copying them from a file, since the possible symbols are effectively limitless.
The file that autoheader2.13 creates contains mainly #define and #undef statements and their accompanying comments. If ./acconfig.h con-
tains the string @TOP@, autoheader2.13 copies the lines before the line containing @TOP@ into the top of the file that it generates. Simi-
larly, if ./acconfig.h contains the string @BOTTOM@, autoheader2.13 copies the lines after that line to the end of the file it generates.
Either or both of those strings may be omitted.
An alternate way to produce the same effect is to create the files FILE.top (typically config.h.top) and/or FILE.bot in the current direc-
tory. If they exist, autoheader2.13 copies them to the beginning and end, respectively, of its output. Their use is discouraged because
they have file names that contain two periods, and so can not be stored on MS-DOS; also, they are two more files to clutter up the direc-
tory. But if you use the --localdir=DIR option to use an acconfig.h in another directory, they give you a way to put custom boilerplate in
each individual config.h.in.
autoheader2.13 accepts the following options:
--help
-h Print a summary of the command line options and exit.
--localdir=DIR
-l DIR Look for the package files aclocal.m4 and acconfig.h (but not FILE.top and FILE.bot) in directory DIR instead of in the current
directory.
--macrodir=DIR
-m DIR Look for the installed macro files and acconfig.h in directory DIR. You can also set the AC_MACRODIR environment variable to a
directory; this option overrides the environment variable.
--version
Print the version number of Autoconf and exit.
SEE ALSO
autoconf2.13(1), autoreconf2.13(1), autoscan2.13(1), autoupdate2.13(1), ifnames2.13(1)
AUTHORS
David MacKenzie, with help from Franc,ois Pinard, Karl Berry, Richard Pixley, Ian Lance Taylor, Roland McGrath, Noah Friedman, David D.
Zuhn, and many others. This manpage written by Ben Pfaff <pfaffben@debian.org> for the Debian GNU/Linux autoconf2.13 package.
Autoconf AUTOHEADER(1)