unifstat command is in hung state

Document ID : KB000016358
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

We run the commands unifstat and ustat but they both seem to hang and not show any output (Hung state).

Environment:
Product: Workload Automation AE 11.3.xProduct: Workload Control Center 11.4.xPlatform: UNIX/LINUXDatabase: Any
Answer:

The commands unifstat/ustat, on UX platforms are symbolic links to the $CASHCOMP/csutils/bin/casrvc binary. 

The casrvc file should have the following permissions: 

-r-sr-xr-x 

And be owned by root 

The files in $CASHCOMP/bin should all, also be owned by root with 777 permissions. 

 We would recommend you try using operating system tools to trace what the command is doing and see where it is having issues (unless permissions above were the issue). 

 

For example, as root: 

on linux : "strace -o /tmp/foo.out ustat" 

on solaris/AIX : "truss -aef -o /tmp/foo.out ustat" 

on HP : "tusc -o /tmp/foo.out ustat" 

 

You can compare the output with a working system or send it in to us for our review. 

Additionally please provide, when run as root: 

ps -ef 

df -k 

ls -al /proc 

ls -al /etc/init.d 

grep "Provides" /etc/init.d 

And provide the files: 

$CASHCOMP/csutils/conifg/*.cfg 

$CASHCOMP/csutils/conifg/casrvc.inf