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 delay.
Using ipmitool we can parse the watt consumption for both supplies of each server and in case is 0 mean the PSU fails.
I was wondering if i can do the same with dmidecode which is executed faster.
I tried the following two commands but the problem is that i see only one PSU information.
Hi,
We have a text file which has the following data.
ISA~00~ ~00~ ~ZZ~VISTN ~ZZ~U1CAD ~051227~183
7~U~00200~000011258~0~P~<
GS~FA~EE05J~U1CAD~051227~1831~000011258~X~002002
ST~997~0001
AK1~SH~247
AK2~856~2470001
AK5~A
AK2~856~2470002
AK5~A... (3 Replies)
Hi All,
I am having shell scripts that make use of ftp to fetch data from one hp-ux box to another. Currently we are migrating these scripts to sftp. Is it a straight forward one? Also, please clarify my following doubts:
1) In ftp we check the success of ftp by verifying the status codes... (4 Replies)
Hi,
I wrote a script that is generating a file and then i have to ftp this file on another server. For this i am using mput to put the file.
How can i make sure that the file was ftp'd correctly to the another server, is there any status check ?
Thanks. (1 Reply)
Hi we have weblogic deployed under Linux Enterprise 5 .
Now i want to write a script that checks if weblogic is running or not
I have found that weblogic uses Java as process .
Can i do this way :
my Script File :
Echo Checking Status
if
then
echo Server Running
else
echo... (2 Replies)
Hi I have following code
I want If whole code executes successfully then return true If found any error then print the error
I tried if ; then
But this checks only for the just upper line execution
#!/bin/bash
PATH1=/var/log/mysql
PATH2=/home/ankur/log
FILE1=mysql-bin.index... (4 Replies)
Hello All,
I'm new in shell scripting and would like to write an automated script that will check few jobs for the completion, and restart the process based on the jobs status. I am not quite sure how do I check the job status... Can someone please help? Any help will be appreciated. Thanks in... (1 Reply)
Hi all,
I am using expect (novice) and would like to check a DB status before kicking off a batch job.
Can anyone help me with such code?
Just a simple check to see if the database is up and running would be suffice.
Thanks (2 Replies)
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! (5 Replies)
I have some server ( IBM , Dell ) , our data center is not in the same location with office , therefore , I do not know if the HD lamp is flash when the HD is fault , can advise if I can write a script to check if the HD is normal running or not ?
thanks (1 Reply)
Hi All,
Have a query
How to check for a process and if down start it , try if for 2 times and its not starting don't do it
My code is working to some extent but while starting try starting both times.
Please advise , whats wrong here ?
if you have any other approach please do share.
My... (1 Reply)
Discussion started by: abhaydas
1 Replies
LEARN ABOUT MINIX
biosdecode
BIOSDECODE(8) System Manager's Manual BIOSDECODE(8)NAME
biosdecode - BIOS information decoder
SYNOPSIS
biosdecode [OPTIONS]
DESCRIPTION
biosdecode parses the BIOS memory and prints information about all structures (or entry points) it knows of. Currently known entry point
types are:
o SMBIOS (System Management BIOS)
Use dmidecode for a more detailed output.
o DMI (Desktop Management Interface, a legacy version of SMBIOS)
Use dmidecode for a more detailed output.
o SYSID
o PNP (Plug and Play)
o ACPI (Advanced Configuration and Power Interface)
o BIOS32 (BIOS32 Service Directory)
o PIR (PCI IRQ Routing)
o 32OS (BIOS32 Extension, Compaq-specific)
See ownership for a Compaq ownership tag retrieval tool.
o SNY (Sony-specific, not decoded)
o VPD (Vital Product Data, IBM-specific)
Use vpddecode for a more detailed output.
o FJKEYINF (Application Panel, Fujitsu-specific)
biosdecode started its life as a part of dmidecode but as more entry point types were added, it was moved to a different program.
OPTIONS -d, --dev-mem FILE
Read memory from device FILE (default: /dev/mem)
-h, --help
Display usage information and exit
-V, --version
Display the version and exit
FILES
/dev/mem
BUGS
Most of the time, biosdecode prints too much information (you don't really care about addresses) or not enough (because it doesn't follow
pointers and has no lookup tables).
AUTHORS
Alan Cox, Jean Delvare
SEE ALSO dmidecode(8), mem(4), ownership(8), vpddecode(8)dmidecode February 2007 BIOSDECODE(8)