04-14-2008
Thank you
That was it!!!
I am a happy camper
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
What do others use for measuring I/O statistics? I'd like something versatile, as in being able to watch (like iostat, but easier to trend), generate load (like iozone, but more realistic), and perform somewhat generalized benchmarks (like bonnie, but more current.) It would scale from a few... (0 Replies)
Discussion started by: LivinFree
0 Replies
2. AIX
Aix 5.3 I am trying to view the IO stats. I do the sar 5 5 but that is the WIO and si different than the IO stats right? I am just blanking on this. I know there is a command that I used to run that brings up a whole bunch of live stats that run live such as mem and so on just can't rememeber... (4 Replies)
Discussion started by: rocker40
4 Replies
3. AIX
Hi I'm writing a script to get overall system memory and cpu utilization in percentages, much like in top or with AIX's topas.
Could I use 'ps' to get the same, I know I can get such results for a particular or group of PIDs but I haven't been able to figure out how I could use 'ps' to give me... (10 Replies)
Discussion started by: thebytegrill
10 Replies
4. Shell Programming and Scripting
Hi,
I am using the below shell script to update the webalizer stats:
#!/bin/bash
username='elogic1'
domain='abcd.com'
path_to_webalizer='/hsphere/shared/bin/webalizer'
path_to_logs='/hsphere/local/home/elogic1/logs/abcd.com'... (4 Replies)
Discussion started by: gsiva
4 Replies
5. Shell Programming and Scripting
So, I have a php program that i need to delete ALL files in a directory that are older than a certain age.
<?php
/* Get file stat */
$stat = stat('/apps/security/ajaba');
This is as far as I've been able to get. I know in shell programming you can easily do something like this. but I'm... (2 Replies)
Discussion started by: SkySmart
2 Replies
6. Shell Programming and Scripting
Hi,
I am required to build up a stats out of returned output. Something like given below. I would like first string in first column with a heading, and so on.
Is there any way I could do it, while adding something after the command, or any other way.
bash-2.05$ grep -i... (12 Replies)
Discussion started by: john_prince
12 Replies
7. Linux
Please help me with a shell script to get the stats on many subdirectories (sub1), (sub2) etc under a mother directory (big)
/big
|
|_______sub1
|_______sub2
|_______sub3
---------
I want to know
1. What is the last file accessed in each subdirectory with date and by whom
2.... (2 Replies)
Discussion started by: digipak
2 Replies
8. UNIX for Advanced & Expert Users
we all know the time shell command
Is there a way to test disk i/o of a process in a similar fashion?
I am trying different methods to limit disk writes in a 24/7 daemon process and would like to
measure. I know pidstat does it but only to a running process, i want to do one shot test... (7 Replies)
Discussion started by: bigearsbilly
7 Replies
LEARN ABOUT DEBIAN
battery-stats-collector
BATTERY-STATS-COLLECTOR(8) System Manager's Manual BATTERY-STATS-COLLECTOR(8)
NAME
battery-stats-collector - Collect statistics about battery charge
SYNOPSIS
battery-stats-collector [option] ...
DESCRIPTION
Does exactly as it says on the tin - it will collect information from the APM subsystem and write it to a log file.
Normally battery-stats-collector will be invoked by the system startup scripts.
OPTIONS
battery-stats follow the usual GNU command line syntax, with long options starting with two dashes (`-').
-V, --version
Show version of battery-stats-collector and exit.
-h, --help
Show summary of options and exit.
-s, --syslog
Log error messages to syslog, rather than stderr. Note that messages regarding invalid command line parameters will still go to
stderr.
-o filename, --output filename
Append statistics to the given file. The default filename is /var/log/battery-stats
-1, --once
Only collect a single sample and exit. The default is to loop continiously.
-i seconds, --interval=seconds
Sampling intervals in seconds. If not specified, stats will be collected every 30 seconds.
-I, --ignore-missing-battery
Keeps quiet about missing batteries. This stops the warnings on stderr/syslog that would otherwise occur when the battery is miss-
ing.
-F samplecount, --flush=samplecount
Flushes data to the logfile every <samplecount> samples. A value of zero turns off flushing altogether. If left unspecified, bat-
tery-stats-collector will assume a value of 1, i.e. flush at every write. Setting the value too low will tend to keep the disk
spinning (and use battery needlessly). Setting the value too high will loose statistics in case of an improper shutdown.
Note that since battery-stats-collector uses the standard Ansi C library, data will still be flushed periodically (regardless of
this setting) once the buffer fills up. The size of the buffer is platform dependent, but 4Kb and 8Kb seem pretty normal.
FILES
/var/log/battery-stats
Default file for writing battery charge samples to.
SEE ALSO
battery-graph(1)
Newer versions of this program may (or may not) be available at http://karl.jorgensen.com/battery-stats
AUTHOR
This manual page was written by Karl E. Jorgensen <karl@jorgensen.com>, for the Debian GNU/Linux system (but may be used by others).
September 18, 2002 BATTERY-STATS-COLLECTOR(8)