05-22-2009
Quote:
Originally Posted by
Padow
You really need to be more specific and descriptive with your questions.
Major and Minor what?
Hi
what is the use of the major and minor number in AIX
9 More Discussions You Might Find Interesting
1. Programming
To further my fledgling knowledge of C, I am re-writing some of the Unix command set. My current command is an ls-style command.
All works well, except for device files. How do I get the major/minor numbers for the dev files?
I see from the stat struct there are st_rdev and st_dev members. Do... (1 Reply)
Discussion started by: zazzybob
1 Replies
2. Solaris
Hi
Can anyone tell me what is major number and minor number in the mknod command. Also what these numbers mean.
I have gone through the man pages but still I couldn't understand.
Regards (3 Replies)
Discussion started by: RajaRC
3 Replies
3. Shell Programming and Scripting
would like to order this input based on major.minor.release AND build number
Label abc_def_0.0.3_build_999 2008/08/01 'Created by me.'
Label abc_def_0.0.9_build_1000 2008/08/01 'Created by me.'
Label abc_def_9.0.9_build_10001 2008/08/01 'Created by me.'
Label abc_def_10.9.100_build_2... (4 Replies)
Discussion started by: gurpal2000
4 Replies
4. Solaris
Hi
Does anyone know what the major and minor numbers are in Solaris? (2 Replies)
Discussion started by: wisdom
2 Replies
5. AIX
Good evening ...
does anyone of you know how to change major/minor numbers of disk devices ?
I had to migrate from raid1 to raid5 and this messed up my ASM cluster - I know which devices should have which IDs to match the content - but I have no idea how to change it.
Any help would be... (2 Replies)
Discussion started by: zxmaus
2 Replies
6. Programming
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/termios.h>
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
#include <sys/mkdev.h>
int
main(int argc, char *argv)
{
int i;
struct stat buf;
... (4 Replies)
Discussion started by: konvalo
4 Replies
7. Shell Programming and Scripting
Hi,
I have line like this :
proj_name/module/trunk/module_1_0
where the first "1" refers to major version and second "0" refers to minor version.
any AWK or command like that so that I can filter out the major and minor ?
like major= command | input line
minor= command |... (4 Replies)
Discussion started by: bhaskar_m
4 Replies
8. Solaris
Hi friends, Please let me know if there is any way to find out Major and Minor numbers of virtual file system like below:
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K ... (8 Replies)
Discussion started by: nitj
8 Replies
9. Shell Programming and Scripting
I want to remove all rows with a minor repeating count less than 30% compared to the major repeating count from my table. The values of a col(starting col 2) can assume is A,T,G,C and N. Each row has at least 2 values and at most 4 repeating values(out of ATGC).
N is considered a missing value... (12 Replies)
Discussion started by: newbie83
12 Replies
LEARN ABOUT SUSE
hpialarms
hpialarms(1) OpenHPI hpialarms(1)
NAME
hpialarms - A openhpi sample application that shows "Alarm Control" management instruments
SYNOPSIS
hpialarms [-a -b -c -i -m -n -p -o -x]
DESCRIPTION
hpialarms walks the RPT (Resource Present Table) for resouces that have "Alarm Control" management instruments (SAHPI_CTRL_LED).
OPTIONS
-c1 sets Critical Alarm on
-c0 sets Critical Alarm off
-m1 sets Major Alarm on
-m0 sets Major Alarm off
-n1 sets Minor Alarm on
-n0 sets Minor Alarm off
-p1 sets Power Alarm on
-p0 sets Power Alarm off
-i5 sets Chassis ID on for 5 sec
-i0 sets Chassis ID off
-a1 sets Disk A fault on
-a0 sets Disk A fault off
-b1 sets Disk B fault on
-b0 sets Disk B fault off
-d[byte] sets raw Alarm byte
-o sets all Alarms off
-x show eXtra debug messages
SAMPLE OUTPUT
hpialarmpanel ver 0.6
RptInfo: UpdateCount = 5, UpdateTime = 8a2dc6c0
rptentry[0] resourceid=1 tag: Mullins
RDR[45]: ctltype=2:1 oem=0 Chassis Identify Control
RDR[48]: ctltype=0:1 oem=10 Front Panel Power Alarm LED state = off
RDR[51]: ctltype=0:1 oem=13 Front Panel Minor Alarm LED state = ON
RDR[46]: ctltype=0:0 oem=0 Cold Reset Control
RDR[49]: ctltype=0:1 oem=11 Front Panel Critical Alarm LED state = off
RDR[50]: ctltype=0:1 oem=12 Front Panel Major Alarm LED state = off
SEE ALSO
AUTHORS
Authors of this man page:
Peter D Phan (pdphan@users.sourceforge.net)
2.14.1 2009-11-23 hpialarms(1)