regarding ps command

command, ps command, solaris

Thread Tools Search this Thread
# 1  
Old 04-10-2008
regarding ps command

Hi all,
iam using solaris 8 SPARC.
when i tried to use ps command it shows
"ps: Cannot read /usr/lib/sparcv9/

but the file exists in that path.Other commands are working like ls,cp etc.
Also when i use the find / -name
it displays
It doesnt shows in these dir /lib/sparcv9 and /lib .But actually this fiel is present in that path also.

Please Can anyone help me on this to solve this issue its urgent.

# 2  
Old 04-10-2008
No idea buddy, this kind of library error is very general it could mean something corrupted or it could be a false alarm and mean nothing. You could try few things, put /usr/lib into your search path and try to see if it improve

export $PATH

or you could try other ps commands on solaris 8 to see if any of them also throwing the same error.

[root]# cd /usr
[root]# find . -name ps -print


or if you have other solaris 8 boxes that don't have this problem, compare file sizes, was anything patched recently?
# 3  
Old 04-10-2008
Thanks for the reply..
How to check which patch is installed on that machine...
Suppose if we installed any latest patch of that operating system , then it will work?
Give me some idea..

# 4  
Old 04-10-2008
To look at your server kernel revision -
uname -a

will list something like Generic_117350-23

showrev -p will give long long list but it will be meaningless to you.

You could try patching but I dunno whether it will resolve your issue or not, Personally I will not do any patching on my server until I'm really sure there's a chance it will really solve the problem.

But if you want to try patching logon to sunsolve knowledgebase to search up your problem first.

Sun Microsystems

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Execute ssh command with additional terminal command to any remote user not working script tomislav91 Shell Programming and Scripting 8 02-26-2018 10:13 PM
I'm facing problem with rpm command, when running the command and appears this error: Ohmkar AIX 4 11-22-2017 11:05 AM
Shell script not working but command works in command prompt picemma UNIX for Dummies Questions & Answers 8 02-02-2016 08:52 AM
Multiple command execution inside awk command during xml parsing vivek d r Shell Programming and Scripting 2 02-11-2013 01:56 AM
SH script, variable built command fails, but works at command line oly_r Shell Programming and Scripting 8 09-14-2012 06:56 PM
passing command output from one command to the next command in cshell kaaliakahn UNIX for Dummies Questions & Answers 2 02-10-2012 05:59 PM
Running set options from the command line and bash command Straitsfan UNIX for Dummies Questions & Answers 5 07-28-2011 12:27 PM
unix command : how to insert text at the cursor location via command line? UNIX for Advanced & Expert Users 0 12-22-2010 06:45 PM
Need help! command working ok when executed in command line, but fails when run inside a script! 4dirk1 Shell Programming and Scripting 4 12-02-2010 06:47 AM
Is command line invocation of gnome-terminal to run more than one command possible? Narnie Shell Programming and Scripting 0 02-16-2010 11:57 PM
Command to find the Memory and CPU utilization using 'top' command ananthi_ku Shell Programming and Scripting 2 01-11-2010 10:41 AM
AIX:Command to get netaddress/subnet address command in IPv4/IP6 rookie8278 AIX 2 06-17-2009 12:35 PM
awk/sed Command : Parse parameter file / send the lines to the ksh export command rajan_san Shell Programming and Scripting 4 11-06-2008 01:29 PM
assign a command line argument and a unix command to awk variables sweta_doshi Shell Programming and Scripting 0 08-08-2008 07:54 AM
inconsistent ls command display at the command prompt & running as a cron job rajranibl SuSE 5 07-30-2007 09:26 AM