03-15-2012
this is how it was at first but it didnt work either...
the problem still remains..
this is what i write in the terminal
./b7-printstats1.sh stats.txt
stats.txt is the external file. when i write this command and press enter, the cursor changes line (goes a line down) and it stays there forever doing nothing else, and so i just terminate it by pressing Ctrl+C
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am interested in booting up my unix computer by connecting an external SCSI drive( intergraph) to it. The unix box is also an intergraph computer. Whenever I boot it, it gives me an error that says Drive not ready, Insert Boot Diskette in A. What am I doing wrong?
Any input would be... (3 Replies)
Discussion started by: teruotor
3 Replies
2. HP-UX
Hie everyone,
I am currently facing a problem whereby I can not connect to an external network from a package ip address on a HP-UX cluster. Below is the illustration:
Primary Server IP Address : n.n.n.202
Secondary Server IP Address : n.n.n.212
Package IP Address : n.n.n.211
... (1 Reply)
Discussion started by: cchilenga
1 Replies
3. AIX
Hi,
We have a user who cannot connect to the aix system anymore with hummingbird exceed.
Our unix servers are aix 5.3. She is running windows xp and using hummingbird 12.
She used to not have any problem, but now when she tries to use xstart she gets an error 'unable to connect to host using... (0 Replies)
Discussion started by: fwellers
0 Replies
4. Shell Programming and Scripting
Hello
I have connected to a remote server via ssh but its not working now ,but the same method I applied in another server and its working fine now
Below are the logs
For Successfully connected server
debug1: Authentications that can continue:... (1 Reply)
Discussion started by: Pratik4891
1 Replies
5. Shell Programming and Scripting
Hi,
my script is setting a variable with value and this variable is present in my another command that is coming from external file and this command is internally called after this variable is set. but while execution of this command, the value is not retrieved properly.
say,
my script... (5 Replies)
Discussion started by: rbalaj16
5 Replies
6. UNIX for Dummies Questions & Answers
Other people at work are able to connect but I am not. I am not sure if there is a setting that I am missing. Connecting from Win7 to Solaris 10. Connection attempt log:
gnome-session
Connecting 144.243.90.235 via TELNET
Thu Mar 29 15:15:32 2012
login: ***
Password: *******
Last login: Thu... (2 Replies)
Discussion started by: SIFT3R
2 Replies
7. UNIX for Dummies Questions & Answers
This may be a dumb question, but googling is not giving me an answer. I'm trying to figure out how to refer to an input file in my code.
Lets say i run a script in bash:
"sh shellscript.sh inputfile"
(Inputfile will be variable...whatever file i run the script on)
I wanted to make... (5 Replies)
Discussion started by: legato22
5 Replies
8. UNIX for Dummies Questions & Answers
Hi !
I have a problem with an if/else statement in bash.
I want to check if the file exists before running a task (for example here, counting lines), and if not I need to create an empty output file
if
then
wc -l input.tab > output.temp
else
>output.temp
fi
The problem is even if the... (2 Replies)
Discussion started by: beca123456
2 Replies
9. Solaris
I have two T2000 servers connected to sun storage array StorEdge 3310 as follows:
CH0 connected to SNGL BUS CONF
CH1 connected to HOST1
CH2 open
CH3 connected to HOST2
DUAL BUS CONF open
I have created some luns which I can mount and use on HOST1 but from HOST2 I cant see them
... (3 Replies)
Discussion started by: aliyesami
3 Replies
10. UNIX for Dummies Questions & Answers
OK So I Recently Bought A whatbox Seed-box Act!!:cool:
I am connected to whatbox via SSH!!!
Now i have downloaded a movie and renamed it to 2yify.mp4 (800MB):o
When I TYPE the command to split it which is:)
split -b 400m 2yify.mp4
It gets renamed into two parts with different names... (4 Replies)
Discussion started by: anime12345
4 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)