i have been reading about how to sort arrays. and now i understand why you did this
but the problem is, how do i print the array index ?
i need $12 later on
until i can fix that "retieval" of the value, i dont see how to integrate the memory calculation into the next awk
altho i have integrated the cpu part in one awk, and only that, nor more exhos
Hi All,
I have a pair of sun ultra 5_10 with SunOS 5.5.1.
Both are almost equally patched and set up with simillar applications.
host# uname -a
SunOS host 5.5.1 Generic_103640-24 sun4u sparc SUNW,Ultra-5_10
Even though both have
same amount of RAM ( 512 Mb ) ,
... (1 Reply)
Hi All,
Kindly help me in optimizing the server as it displays a great amount of CPU & MEM being utilised when the mysql process executes.
Below are the stats ---
--------------------------------------------------------------------------
# top
15:51:57 up 23:22, 5 users, load average:... (1 Reply)
What is amount of free RAM i have now?
total used free shared buffers cached
Mem: 1010 963 46 0 215 256
-/+ buffers/cache: 491 518
Swap: 1983 0 1983
Above is the output of... (1 Reply)
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
I'm writing a bash script to log some selections from a sensors output (core temp, mb temp, etc.) and I would also like to have the current cpu usage as a percentage. I have no idea how to go about getting it in a form that a bash script can use. For example, I would simply look in the output of... (3 Replies)
Hi all,
Is it possible to get total memory usage and free memory usage without top? By Googling I found for total memory usage, use vmstat, for CPU, use mpstat, for disk I/O use iostat, is this correct? Will using sar gives the same result as ALL of these three (3) commands?
What about if I... (2 Replies)
Hi folks,
I'm a CS students enrolled in a sysadmin class where we've been covering bash scripting for the past few weeks. I have prior knowledge in java, c++, c#, python,and some scripting languages like asp.net w/c# and php. This bash stuff seems pretty neat and a bit different than what I am... (9 Replies)
I do not know shell scripting. But at work place, I have got an in and out shell scripting task. I just need to understand a very big script. Is there any tool in which I can place the script and it can tell me the meaning of the whole script? (3 Replies)
Discussion started by: lg123
3 Replies
LEARN ABOUT DEBIAN
dzen2
DZEN(1) General Commands Manual DZEN(1)NAME
dzen2 - general-purpose messaging and notification for X11
SYNOPSIS
dzen2 [-v] [-p [seconds]] [-m [v|h]] [-ta <l|c|r>] [-sa <l|c|r>]
[-x <pixel>] [-y <pixel>] [-w <pixel>] [-tw <pixel>] [-u]
[-e <string>] [-l <lines>] [-fn <font>] [-bg <color>]
[-fg <color>] [-xs <screen>]
DESCRIPTION
Dzen is a general-purpose messaging and notification program for X11, desigend to be scriptable in any language and integrate well with
window managers like dwm, wmii and xmonad though it will work with any windowmanger.
Dzen expects the status message on its standard input, and uses a custom formatting language for colors and several other features (like
bar meters and such). See README for detailed usage and scripting instructions.
OPTIONS -fg <color>
Set foreground color. The <color> can be specified either as symbolic name (e.g. red, darkgreen, etc.) or as #rrggbb hex-value (e.g.
#ffffaa).
-bg <color>
Set background color (same format as -fg).
-fn <font>
Set font (using the format of xlsfonts and xfontsel).
-ta <l|c|r>
Set alignement of title window content: l(eft), c(center) or r(ight).
-tw <pixels>
Set title window width.
-sa <l|c|r>
Set alignment of slave window (see -ta ).
-l <lines>
Number of lines to display in slave window (see (1) in README).
-e <event1=action1:option1:...,action2;event2=...>
Set up events and actions, eg. responses to mouse clicks (see (2) in README).
-m Start up in menu mode (see (3) in README).
-u Update contents of title and slave window simultaneously, see (see (4) in README).
-p [<timeout>]
Persist EOF (optional timeout in seconds).
-x <pixels>
Set x position on the screen.
-y <pixels>
Set y position on the screen.
-h <pixels>
Set line height (defaults to fontheight + 2 pixels).
-w <pixels>
width
-xs <n>
Set the Xinerama screen number where dzen should appear.
-v Display version information.
SEE ALSO
More detailed documentation (especially on the formatting language of dzen2) is available in /usr/share/doc/dzen2/README.gz.
AUTHOR
Dzen2 has been written by Robert Manea. This manpage has been written, based on dzen documentation, by Petr Rokai, for Debian GNU/Linux,
but may be used by others. This manpage falls under the same licence as Dzen2 itself, see /usr/share/doc/dzen2/copyright.
DZEN(1)