General
cancel
Showing results for 
Search instead for 
Did you mean: 

Nickel Script problem with hp-ux server

SOLVED
Go to solution
periyasamy
Advisor

Nickel Script problem with hp-ux server

Dear Experts,

In one of my hp-ux server i am using the nickel script from hp to collect and checking information of the server.I am facing a problem while running nickel script.If i execute it is giving the error as below.

Nickel Revision: A.01.12b15-001

Note, the Temporary Output will go to the following Directory:
/tmp/nickel.ghiaadb1

Point your favourite Web browser to that directory and
open the file index.html to see the results.

Final Archived File:
/opt/nickel/nickel.ghiaadb1.tar.gz

Collecting System Information...
adb: info: Option -k is deprecated.
adb: info: Option -k is deprecated.
adb: info: Option -k is deprecated.
adb: info: Option -k is deprecated.
adb: info: Option -k is deprecated.
adb: info: Option -k is deprecated.
/opt/nickel/nickel[2]: There is not enough memory available now.
/opt/nickel/nickel[2]: There is not enough memory available now.





After all it is simply hanging in the same screen.But my server having required memory to run this script.It is creating some html files during the hungup time in /tmp/nickel.hostname directory.

Detailes of server:
os: hp-ux 11i v2
model:rp3440

Top output of server
System: ghiaadb1 Sun Feb 15 10:21:01 2009
Load averages: 0.13, 0.15, 0.15
361 processes: 333 sleeping, 27 running, 1 zombie
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.14 5.0% 1.0% 12.9% 81.2% 0.0% 0.0% 0.0% 0.0%
1 0.14 3.9% 2.9% 9.8% 83.3% 0.0% 0.0% 0.0% 0.0%
2 0.14 3.9% 17.6% 7.8% 70.6% 0.0% 0.0% 0.0% 0.0%
3 0.11 28.4% 0.0% 2.0% 69.6% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.13 10.8% 4.9% 7.8% 76.5% 0.0% 0.0% 0.0% 0.0%

Memory: 4212988K (1775340K) real, 6030396K (3259072K) virtual, 3742304K free Page# 1/8

CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
1 ? 25739 root 154 20 3604K 540K sleep 1:48 13.43 13.40 vbda
0 ? 25738 root 154 20 4564K 604K

Output of vmstat
/opt/nickel>vmstat
procs memory page faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
1 0 0 682447 935432 330 4 0 0 0 0 0 5296 14315 1801 6 3 90

output of swapinfo
/usr/sbin/swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192000 0 8192000 0% 0 - 1 /dev/vg00/lvol2
dev 10485760 0 10485760 0% 0 - 0 /dev/vg00/lvol9
reserve - 4709124 -4709124
memory 12580864 3423004 9157860 27%


I have attached the nickel script which i had used for ur refrence.

Anybody can u suggest me a solution

Thanks in advance

4 REPLIES
Jeeshan
Honored Contributor
Solution

Re: Nickel Script problem with hp-ux server

check this thread of similar question and provided answers.
a warrior never quits
Jeeshan
Honored Contributor

Re: Nickel Script problem with hp-ux server

periyasamy
Advisor

Re: Nickel Script problem with hp-ux server

Hi,

Thanks to all of your reply.I can able to run my nickel script after restarting the diagmond(cstm) daemon.But still i am getting the Following message at runtime.
/opt/nickel/nickel[2]: There is not enough memory available now.

But my swapinfo message showing 27% of the memory only utilized by the system.Even swap space also free.So i what to know what are the ways i can use to get the real memory usage on my server.This may help me to point out the reason for memory error in runtime of the nickle script.

Thanks in advance.
Avinash20
Honored Contributor

Re: Nickel Script problem with hp-ux server

"There is not enough memory available now."

There is nothing to do with the memory

Either you have get the latest nickel script from HP solution Center or increase the maxdsiz and maxssiz (ulimit -d and ulimit -s)
"Light travels faster than sound. That's why some people appear bright until you hear them speak."