Sponsored Content
Operating Systems HP-UX Verify Hardware installed HP-UX11 Post 302145024 by 411seeker on Monday 12th of November 2007 12:17:38 PM
Old 11-12-2007
ioscan -k -is the typical place to start, this provides list of all hardware
dmesg -is the easiest way to get physical memory

SAM is also a great way to get the overview.

Some typical programatic specifics are below.
PROC_SPEED=`echo itick_per_usec/D | adb -k /stand/vmunix /dev/kmem |awk -F: 'NR>1 {print $2}'`
NU_PROC=`echo "runningprocs/D" | adb -k /stand/vmunix /dev/kmem |awk -F: 'NR>1 {print $2}'`
MODEL=`model|awk -F/ '{print $3}'`
MEM=`echo "phys_mem_pages/D"| adb -k /stand/vmunix /dev/kmem |awk -F: 'NR>1 {print$2}'`
 

10 More Discussions You Might Find Interesting

1. HP-UX

rsync for HP-UX11.0

Was using rsync for Hp-UX 10.20, would like to find out is it available for HP-UX 11. If not is that anything equivalent for HP-UX11.0. I am trying to sync the content of 2 folders. Thanks alot for any help! (2 Replies)
Discussion started by: gelbvonn
2 Replies

2. Shell Programming and Scripting

migration from hp-ux11.11 to hp-ux 11.23

Hi all Can any one guide me what changes may occur with this OS version migration. If you could give some links, that would be helpful too. Regards, Ranj (2 Replies)
Discussion started by: ranj@chn
2 Replies

3. UNIX for Dummies Questions & Answers

Verify Hardware installed on HP-UX 11

Hi - Basic question from newbie I need to find out how to verify hardware installed on HPUX server. Mid-range server - as in i need to prove to customer that a specific cpu is installed, so much memory is installed, etc. PLEASE HELP. TA (1 Reply)
Discussion started by: hoffies
1 Replies

4. HP-UX

flex++ parser for HP-UX11

Hi, can anyone tell me were to download flex++ parser for HP-UX11 BR vasanth (1 Reply)
Discussion started by: vasanthan
1 Replies

5. HP-UX

rpm on HP-UX11

How to install rpm on HP-UX 11i best regards vasanth (3 Replies)
Discussion started by: vasanthan
3 Replies

6. HP-UX

RPM on hp-ux11.11 PARISC

Hi Im trying to build and install rpm on our hp-ux server, can you please tell me how this is achived....I have tried several ways its failing I have downloaded berkeley db and build on my system, when i have seen rpm source file i found berkelydb in that folder..Do i kneed to build again ... (2 Replies)
Discussion started by: vasanthan
2 Replies

7. Shell Programming and Scripting

how to verify sqlplus not installed on solaris

i want to write shell script that exit by displaying error if sqlplus is not installed. The platform is oracle10g on solaris sparc. I tried the which sqlplus command, but it returns errorcode 0 even sqlplus is not installed. Kindly help? (3 Replies)
Discussion started by: mmunir
3 Replies

8. News, Links, Events and Announcements

Hp-ux11.11_openmotif

Hello every one, i am attempting to install motif on HP-UX 11.11 ,which motif version i have to use for installation &where can i get that motif versin. pls provide the information like websites which are containing open motif to install it on HP-UX 11.11. IT'S VERY URGENT. any help... (3 Replies)
Discussion started by: mannam srinivas
3 Replies

9. Red Hat

How to verify the current NIC driver version installed in RHEL5.3??

Guys, Can you help me how to verify the current installed NIC driver version in RHEL5.3? Thanks.:D (1 Reply)
Discussion started by: shtobias
1 Replies

10. Shell Programming and Scripting

How-to verify if my package installed successfully

Can you please let me know how can i verify /check inside the script if the below to package installation commands are successful or if they failed for any reasons? 1. pkgadd -a $INSTP/install/dadmin -d $INSTP/install/apachesrv.pkg 2. pkgadd -a $INSTP/install/dadmin -d... (6 Replies)
Discussion started by: mohtashims
6 Replies
XInstallColormap(3X11)													    XInstallColormap(3X11)

NAME
XInstallColormap, XUninstallColormap, XListInstalledColormaps - control colormaps SYNOPSIS
XInstallColormap(display, colormap) Display *display; Colormap colormap; XUninstallColormap(display, colormap) Display *display; Colormap colormap; Colormap *XListInstalledColormaps(display, w, num_return) Display *display; Window w; int *num_return; ARGUMENTS
Specifies the colormap. Specifies the connection to the X server. Returns the number of currently installed colormaps. Specifies the window that determines the screen. DESCRIPTION
The XInstallColormap function installs the specified colormap for its associated screen. All windows associated with this colormap immedi- ately display with true colors. You associated the windows with this colormap when you created them by calling XCreateWindow, XCreateSim- pleWindow, XChangeWindowAttributes, or XSetWindowColormap. If the specified colormap is not already an installed colormap, the X server generates a ColormapNotify event on each window that has that colormap. In addition, for every other colormap that is installed as a result of a call to XInstallColormap, the X server generates a Col- ormapNotify event on each window that has that colormap. XInstallColormap can generate a BadColor error. The XUninstallColormap function removes the specified colormap from the required list for its screen. As a result, the specified colormap might be uninstalled, and the X server might implicitly install or uninstall additional colormaps. Which colormaps get installed or unin- stalled is server dependent except that the required list must remain installed. If the specified colormap becomes uninstalled, the X server generates a ColormapNotify event on each window that has that colormap. In addition, for every other colormap that is installed or uninstalled as a result of a call to XUninstallColormap, the X server generates a ColormapNotify event on each window that has that colormap. XUninstallColormap can generate a BadColor error. The XListInstalledColormaps function returns a list of the currently installed colormaps for the screen of the specified window. The order of the colormaps in the list is not significant and is no explicit indication of the required list. When the allocated list is no longer needed, free it by using XFree. XListInstalledColormaps can generate a BadWindow error. DIAGNOSTICS
A value for a Colormap argument does not name a defined Colormap. A value for a Window argument does not name a defined Window. SEE ALSO
XChangeWindowAttributes(3X11), XCreateColormap(3X11), XCreateWindow(3X11), XFree(3X11) Xlib -- C Language X Interface XInstallColormap(3X11)
All times are GMT -4. The time now is 05:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy