12-16-2009
The second line is the important one, i.e.
3950904 - 3428 - 3092364 = 855112
3986152 - 855112 = 3131040
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
How do I indent 4 spaces for standard UNIX commands like ls -ltr (or grep)?
For example, I want ls -ltra to output as:
<<spaces here>>-rw-r----- 1 a345696 rtkdevel 455 Dec 6 14:52 file1
<<spaces here>>-rw-r----- 1 a345696 rtkdevel 455 Dec 6 14:52 file2
<<spaces... (2 Replies)
Discussion started by: ssray23
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
This might be a bit stupid question, but what command to use to create like a session which logs the command line, and output on to the screen?
Basically, a log to a file, where I can review what I had install, uninstall, etc.
Thank you (4 Replies)
Discussion started by: kittoinc
4 Replies
3. Red Hat
Hi Friends,
I am really confused with the output of "free" command on redhat linux.
I can see caching and buffer output on two different areas on the output.
Please let me know whats the difference of these two different outputs.
Here I am pasting the command output of my server.
# free... (3 Replies)
Discussion started by: arumon
3 Replies
4. Shell Programming and Scripting
Can i do this
Say one command
sed 's/:*/ /g' $summf
is returning
C1234
C2345
C3434
some no of rows, now this ouput i have to insert it into a DB table
how do i do this?? (2 Replies)
Discussion started by: depakjan
2 Replies
5. UNIX for Dummies Questions & Answers
how can I get the df -h command output into excel format or csv file.
df -k | tr -s " " | sed 's/ /, /g' | sed '1 s/, / /g' | column -t
df -h | column -t
I have tried as above but the format is not right. I'm not able to load the format into a excel or a table.
... (2 Replies)
Discussion started by: anita81
2 Replies
6. Shell Programming and Scripting
I'm just wondering is there any way to capture the output of a unix command in a csv format.
df -h gives the result of filesystem,free space,Used space, use %,mounted on.
Is there a way to capture the command output and format it as comma sparated or fixed length file. (3 Replies)
Discussion started by: anita81
3 Replies
7. Shell Programming and Scripting
How do i echo the output of a unix command using shell script???
Like:
echo /etc/ ls -l (2 Replies)
Discussion started by: sunny2802
2 Replies
8. Shell Programming and Scripting
Hi,
I'm writing a script that connects through ssh (using "expect") and then is supposed to find whether a process on that remote machine is running or not. Here's my code (user, host and password are obviously replaced with real values in actual script):
#!/usr/bin/expect
set timeout 1... (3 Replies)
Discussion started by: oseri
3 Replies
9. Shell Programming and Scripting
Hi
I have script to collect file system usage statistics from few remote unix hosts and email . On the UNIX system the column spacing is fine but the email output is not aligned properly. Any tips to fix this ? (1 Reply)
Discussion started by: new2prog
1 Replies
10. UNIX for Beginners Questions & Answers
I have two questions on Linux's free command. Below, I have provided output from my home laptop (fedora 26 ) which has 16GB Physical RAM and a production server (RHEL 7.4) which has 24GB RAM.
Question1. What exactly does the buffer/cache column say in free command's output ? buffer/cache is... (9 Replies)
Discussion started by: omega3
9 Replies
LEARN ABOUT HPUX
ups_conf
ups_conf(4) Kernel Interfaces Manual ups_conf(4)
NAME
ups_conf - HP PowerTrust Uninterruptible Power System (UPS) monitor configuration file
DESCRIPTION
The default configuration file for the HP PowerTrust UPS monitor daemon Another file can be used as long as it complies with the specified
format, and the monitor daemon is configured to use the alternate file (see the description of the option in ups_mond(1M)).
Lines in the configuration file can contain a maximum of 256 characters, and the full pathname of a UPS-tty device file can contain a maxi-
mum of 100 characters.
Only one entry per line is allowed in the configuration file. Each line begins with a keyword. All fields in configuration file entries
are delimited by colons (:). Entries in the configuration file end with the first space encountered (as specified by the library function,
see isspace(3C)). Characters beyond the first space on each line are treated as comments.
The shutdown delay and timeout values should be the first lines in the file.
Entries in this file begin with keywords that must appear exactly as shown below. The terminating colon separates the keyword from the
value of its parameter. recognizes the following keywords:
The number of minutes
following notification by the first that its corresponding UPS is operating on internal (battery) power, before initiates
The default is one minute. This value should be set to account for transient power interruptions, if they are common to the
site.
The number of minutes to monitor the
operation before initiating with the halt option see reboot(2)). The default is five minutes. This value should be longer
than the longest time the system requires to execute shutdown(1M). Note that after the value of has elapsed, a UPS lacking
AC line voltage will power off. When AC line voltage is restored, the UPS will restore power to its output. This timeout
value should not be so much longer than that an observer may become impatient. It is important to note that this value is
the period for which the UPS will delay its power-cycling, even if AC power is restored sooner.
This line is followed by either
or which indicates if the UPS needs to be turned OFF or ON upon AC line voltage failures respectively. Default is
The full pathname of the
device special file through which the UPS is configured. Include one entry for each UPS. entries are handled in the order
they appear in Therefore, it is important to list your uninterruptible power systems in order of priority (for example, UPS
protecting the SPU listed first).
entries can contain following optional parameters, which can appear in any order following the device special file name:
This will not cause or to be initiated.
The type of uninterruptible power supply. Currently, this is the only
type defined and supports the entire HP UPS family, including PowerTrust. It defaults to SOLA .
EXAMPLES
The following is a sample file:
FILES
SEE ALSO
ups_mond(1M).
ups_conf(4)