10 More Discussions You Might Find Interesting
1. Solaris
Hi,
I have enabled the Apache webserver on my machime.
Apache root directory is /etc/apache2 and the user in which the web server is configured is webservd,I guess.
I have another user called perf.
Under perf user there is /export/home/perf/v9 directory.
I want to give the OS user of... (3 Replies)
Discussion started by: bikas89
3 Replies
2. Solaris
Hi all,
below is the problem details:
ora10g@CNORACLE1>which ld
/usr/ucb/ld
ora10g@CNORACLE1>cd /usr/ccs/bin
ora10g@CNORACLE1>ln -s /usr/ucb/ld ld
ln: cannot create ld: File exists
ora10g@CNORACLE1>
how to link it to /usr/ccs/bin? (6 Replies)
Discussion started by: SmartAntz
6 Replies
3. AIX
we are using aix 5.3 and we notice that the filesystem /usr is almost full. we have an oracle database running on the server.what are the cause why this filesystem is almost full.what should we do to free some space on this filesystem beside increase the size?thanks (4 Replies)
Discussion started by: paulexis
4 Replies
4. Shell Programming and Scripting
hello
I am trying to run the following script to get the my-progam pid:
#!/bin/ksh
tt=`/usr/ucb/ps| grep -i $1| grep -v grep | awk '{print $2}'`
echo $tt
When I run the script I get the more PIDs
$./test.sh my-program
12033 15033 15034
Actually my-program's PID is 12033....I... (6 Replies)
Discussion started by: sreeniatbp
6 Replies
5. UNIX for Advanced & Expert Users
Hei,
When I run the /usr/ucb/ps -auxwll with any other user except root I get nothing (Solaris 10 in global).
Is a way to get the same resualt as root with my user.
tnx
Mehrdad (0 Replies)
Discussion started by: mehrdad68
0 Replies
6. Shell Programming and Scripting
Hello all
im trying to get the value of:
/usr/ucb/ps -guxww | grep Tomcat | grep $USER | grep -v grepinto variable , im using csh .
like this :
set PS="/usr/ucb/ps -guxww"
set isTomcat = `cat $PS | grep Tomcat | grep $USER | grep -v grep`
but im keep geting this error:
cat: cannot open... (4 Replies)
Discussion started by: umen
4 Replies
7. Solaris
Hi,
Is there an option in /usr/ucb/ps version to get a selected list of processes like in /usr/bin/ps -p"1 3 5" option?
Thanks,
Fredy (7 Replies)
Discussion started by: fredy
7 Replies
8. Shell Programming and Scripting
Hi I need to subtract one day from date1=`/bin/date +%d`
So I used
date=`/usr/ucb/expr $date1 - 1`
The only thing is if date1 is a single digit like 08, date will be 8 instead of 08.
How can I avoid losing 0?
Thanks for all your help!!! (4 Replies)
Discussion started by: whatisthis
4 Replies
9. Solaris
we aheva couple of old sun OS boxes, that we are trying to parse /usr/ucb/ps output.
However it seems that something is occuring that is causeing th output of "/usr/ucb/ps -auxwww" to cut short the process name, whereas "ps -eaf" can display the entire process name.
It will work for a while... (2 Replies)
Discussion started by: adralph
2 Replies
10. Filesystems, Disks and Memory
My /usr partition ran out of space, now i'm sitting here and thinking what to do :(
What would be your suggestions? I have /home partition which is 20% full and I don't think that I will ever use the whole space. is there a way to resize my partitions without data loss?
What I was actually... (7 Replies)
Discussion started by: D-Lexy
7 Replies