Sponsored Content
Operating Systems AIX Using NIM to gather system information Post 302468594 by rbatte1 on Wednesday 3rd of November 2010 09:29:15 AM
Old 11-03-2010
If the servers you are interested in are set up as NIM clients, then you can probably run these as remote shell commands:
Code:
#!/usr/bin/ksh
for client in host1 host2 host3 .... hostn
rsh $client prtconf | grep -i "Firmware Version" > /tmp/${client}_aixinfo.txt
rsh $client hostname >> /tmp/${client}_aixinfo.txt
rsh $client oslevel -s >> /tmp/${client}_aixinfo.txt
rsh $client oslevel -r >> /tmp/${client}_aixinfo.txt
chmod 755 /tmp/${client}_aixinfo.txt

The output is written to standard output so you will collect it on the NIM server, hence why I tweaked the output file to include the client. There is therefore no need for the chmod to be a remote command as the output is collected locally.

I also took out the append from the prtconf and set is as a create/overwrite so these files don't grow excessivly from multiple running.



I hope that this helps.



Robin
Blackburn/Liverpool
UK
 

10 More Discussions You Might Find Interesting

1. HP-UX

System Information

How do I get the system information on a HP UNIX server. details like CPU speed, number of processors etc. (4 Replies)
Discussion started by: Olamide
4 Replies

2. AIX

migrate NIM server through NIM installation

I try to migrate a NIM server from one server to another. I try to do a mksysb on NIM server restore the NIM server's mksysb to a client through NIM installation shutdown NIM server start newly installed client as NIM server Does anyone do this before? who can give me some suggestion? (1 Reply)
Discussion started by: yanzhang
1 Replies

3. HP-UX

HP-UX system information

Hi, I'm writing a script to display a lot of information which describe a server (OS distrib, release, Hardware platform, CPU, HD, S/N...). For Linux side it is ok as you have almost all the information in /proc/cpuinfo, /proc/meminfo... and you can use dmidecode but for HP-UX I didn't find... (13 Replies)
Discussion started by: biker007fr
13 Replies

4. AIX

Back up a client NIM from nim master

Hello everyone Im trying to backup a nim client from nim master but I got this message COMMAND STATUS Command: failed stdout: yes stderr: no Before command completion, additional instructions may appear below. 0042-001 nim:... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

5. AIX

For NIM: NFS file system problem

hello, i am trying to export a file system so that i can mount it on NIM server and make mksysb backup of the server on that fs. i get this message: mount: 1831-011 access denied for s_semdev:/dr_s_zeus/mksysb/dr_s_zeus mount: 1831-008 giving up on: s_semdev:/dr_s_zeus/mksysb/dr_s_zeus ... (5 Replies)
Discussion started by: omonoiatis9
5 Replies

6. AIX

how to gather HMC information

does somebody know how to gather HMC information? It looks like there is some tool can gather HMC configuration to a html file and make them as a xx.tar.gz file? (2 Replies)
Discussion started by: rainbow_bean
2 Replies

7. UNIX for Dummies Questions & Answers

How can I use my code to gather information from a file in a completely different directory?

I need my code to compare two different files that are in two completely different directories, How can I do this? So for example, my code will look at file1 which is in my home directory, and compare the files with those from file2 that is in /abc/adf/adr/afc/adf/file2... does that make sense? (1 Reply)
Discussion started by: castrojc
1 Replies

8. AIX

NIM NFS file system cannot unmount

Hello, I have a script on my NIM Master that runs with crons and performs mksysb backups of all NIM Clients once a week. There is a problem with one of the clients as it stucks and never finishes the mksysb backups. I tried to unmount the NFS file system created by the NIM in order to perform... (5 Replies)
Discussion started by: omonoiatis9
5 Replies

9. AIX

Problem in communication nim client with nim master

Hello, I have an AIX6.1 machine which is a nim client to my nim master which is also AIX6.1 machine. I had some problem to perform an installation on my client using smit nim . i removed /etc/niminfo file in order to do the initialization again but when i run the command niminit -a name=client... (0 Replies)
Discussion started by: omonoiatis9
0 Replies

10. UNIX for Beginners Questions & Answers

Create a shell script to gather user account information and displays the result to administrator

I want to create a shell script to gather user account information and displays the result to administrator. I have created a script but its showing all the information when i search for username like: amit@mx:~$ ./uinfo.sh amit Username : amit User Info ... (2 Replies)
Discussion started by: amit1986
2 Replies
ggz(6)								  GGZ Gaming Zone							    ggz(6)

NAME
ggz - GGZ Gaming Zone core client selector SYNOPSIS
ggz [URI] DESCRIPTION
The GGZ Gaming Zone allows people to play many games online using so-called GGZ core clients which are chat clients with integrated game launchers. The ggz tool can be used as a shortcut to start the most suitable core client without worrying which ones are installed. The tool is useful for launching GGZ core clients from other software, but it will certainly also be used by experienced users who just want to connect to GGZ quickly. Currently, the KDE client kggz, the Gtk+ client ggz-gtk and the Java client ggz-java are supported for graphical environments. In text- console mode, ggz-txt can serve as a fallback. OPTIONS
Since the available program options varies between the core clients, only the common URL parameter is supported. This is a connection iden- tifier of the form ggz://user@host:port and will in most cases be abbreviated to user@host. AUTHORS
The GGZ Development Team <ggz-dev@mail.ggzgamingzone.org> SEE ALSO
kggz(6), ggz-gtk(6), ggz-java(6), ggz-txt(6), ggz(7) The GGZ Development Team 0.0.14 ggz(6)
All times are GMT -4. The time now is 07:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy