01-31-2012
shell script to check if PSU and fan needs to be replaced?
does anyone know any shell script command that can check if PSU and fan needs to be replaced?
examples will also be greatly appreciated.
thanks!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to create an automated script which is called by another maually executed script.
The condition is that the no one should be able to manually execute the automated script.
The automated script can be on the same machine or it can be on a remote machine.
Can any one suggest a check in the... (1 Reply)
Discussion started by: adi_bang76
1 Replies
2. Shell Programming and Scripting
I have written the below script to determine whether a string is palindrome or not ?
But its not working, any help to debug it ?
I am new to this forum but when I searched for my question, I found that many people refused to answer this question thinking that its Homework question, Therefore I... (2 Replies)
Discussion started by: gridview
2 Replies
3. Shell Programming and Scripting
hi guys ..newbie here i would like to create a simple script tat will detect wether the machine has IP or not ...
but it seems that my script doesnt really work it kept rebooting...
i set this script during boot so that it will check else it will reboot
it a shell script thou...
... (5 Replies)
Discussion started by: bladez
5 Replies
4. Shell Programming and Scripting
Hello All,
I have 3 types of files. The names of which starts with P,I,M
like P*********
D*********
M*********
now I need to do some operations witht hese files..
so
if file name starts with P or p
then
do the operation for P file...
fi
else (20 Replies)
Discussion started by: smarty86
20 Replies
5. Shell Programming and Scripting
I have a local linux machine in which the files are dumped by a remote ubuntu server. If the process in remote server has any problem then empty files are created in local machine. Is there any way using perl script to check if the empty files are being created and delete them and then run a shell... (2 Replies)
Discussion started by: hussa1n
2 Replies
6. Shell Programming and Scripting
Hi Scripting Gurus,
Can someone help to transform the below logic into a shell script, might be easy for some of you.
I have a file with below text, I need if the line has the ":" and the above to it is not a blank line should print " <text>: is incorrect format"
Apple:
... (3 Replies)
Discussion started by: usyseng
3 Replies
7. Shell Programming and Scripting
hi guys
we've had nagios spewing false alarm (for the umpteenth time) and finally the customer had enough so they're starting to question nagios. we had the check interval increased from 5 minutes to 2 minutes, but that's just temporary solution. I'm thinking of implementing a script on the... (8 Replies)
Discussion started by: hedkandi
8 Replies
8. Hardware
hi all,
kindly help in this matter. Can i check anyone has any experience in removing the CPU fan from its chassis? my fan is spoilt and i wish to replace with other type. See picture below..
http://zone11.codemicroinc.netdna-cdn.com/large_1054367.jpg
---------- Post updated at 05:15 PM... (6 Replies)
Discussion started by: lchunleo
6 Replies
9. Red Hat
Hello,
We have a cluster and each server have 2 PSU.
An alarm should be raised in case of failure so we need to check periodically the PSU status wth a script.
The first idea was to check with ipmitool but this take some time to get the data and we face some other issues now due to that... (1 Reply)
Discussion started by: @dagio
1 Replies
10. Shell Programming and Scripting
How can i ceck as shellscript, if a other shellscript has been started?
The other script can bee started by a other user.
The task will not run twice (5 Replies)
Discussion started by: Linuxmann
5 Replies
LEARN ABOUT DEBIAN
i8kctl
i8kctl(1) Utilities i8kctl(1)
NAME
I8kctl, i8kfan - Utility to access SMM BIOS on Dell Inspiron laptops
SYNTAX
i8kctl [<command> [<args>]]
i8kfan [<left> [<right>]]
DESCRIPTION
The i8kctl utility provides a command-line interface to the i8k kernel driver for Dell Inspiron laptops. When invoked without arguments the
program reports the same information which can be read from the /proc/i8k file:
1. i8k format version
2. bios version
3. machine id
4. cpu temperature
5. left fan status
6. right fan status
7. left fan speed
8. right fan speed
9. ac power status
10. fn buttons status
The optional command argument can be used to select only one of the above items. Command can be: version, bios, id, temp, fan, speed, ac
and fn. Examples:
$ i8kctl
1.0 A17 B5W123K 52 2 1 8040 6420 1 2
$ i8kctl temp
52
$ i8kctl fan
2 1
The fan command can accept two optional parameters which specify the new fan state for left and right fans. The state parameter can be:
0 turn the fan off
1 set low speed
2 set high speed
- don't change the state of this fan
For example the command:
$ i8kctl fan - 2
sets the right fan to high speed and leaves the left unchanged. It should be noted that if the i8kmon(1) daemon is used to control the
fans, setting the speed with i8kfan is pointless since the daemon will override the speed with its own value.
Invoking i8kctl as i8kfan is the same as invoking the program with the fan option:
$ i8kctl fan 1 2
1 2
$ i8kfan 1 2
1 2
FILES
/proc/i8k
AUTHORS
Massimo Dal Zotto <dz@debian.org>
COPYRIGHT
i8kctl and all the i8kutils programs , scripts and other files are distributed under the GNU General Public License (GPL). On Debian
GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'.
SEE ALSO
i8kmon(1), i8kbuttons(1)
Massimo Dal Zotto 18 March 2002 i8kctl(1)