10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
on solaris I need the full ps output, and process this. With /usr/ucb/ps auxwww I get the output as wanted, but the user is cut off to 8 long.
With ps -o ruser I can get the full username, but I do not have the full output.
Is it possible to get long output, with the full username?
... (1 Reply)
Discussion started by: dimpie
1 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. 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
4. 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
5. Shell Programming and Scripting
Hi ,
My shell script doesnt function properly while executing.
My shell script has the below mentioned code in it.
#!/bin/sh
CD="/usr/bin/cd"
..
..
$CD /
..
..
main intention behind giving the $CD / is to replace the cd command with /usr/bin/cd at the time of program execution.
... (5 Replies)
Discussion started by: raghu.amilineni
5 Replies
6. Linux
I installed an application in this location /root/jython and I added a link to the /usr/bin because i want everyone on the system to be able to execute this
ln -s /root/jython/jython jython
I can execute this anywhere when i am logged in as root but when i change user to say juju it returns
... (1 Reply)
Discussion started by: oyesiji
1 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. Solaris
My Solaris10 cannot boot after I made an error when apending the vfstab to:
dev to mount======/dev/dsk/c0d0p1:1
device to fsck====== <blank>
mount pt=========/Data
FS Type==========pcfs
fsck pass=========-
mount at boot=====yes
mount options===== <blank>
My 'Data' partition is a... (3 Replies)
Discussion started by: maag
3 Replies
9. 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
10. 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
ld(1B) SunOS/BSD Compatibility Package Commands ld(1B)
NAME
ld - link editor, dynamic link editor
SYNOPSIS
/usr/ucb/ld [options]
DESCRIPTION
/usr/ucb/ld is the link editor for the BSD Compatibility Package. /usr/ucb/ld is identical to /usr/ccs/bin/ld (see ld(1)) except that BSD
libraries and routines are included before the base libraries and routines.
OPTIONS
/usr/ucb/ld accepts the same options as /usr/ccs/bin/ld, with the following exceptions:
-Ldir Add dir to the list of directories searched for libraries by /usr/ccs/bin/ld. Directories specified with this option are
searched before /usr/ucblib and /usr/lib.
-Y LU,dir Change the default directory used for finding libraries. Warning: This option may have unexpected results, and should not
be used.
FILES
/usr/lib
/usr/lib/libx.a
/usr/ucblib
/usr/ucblib/libx.a
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO
ar(1), as(1), cc(1B), ld(1), lorder(1), strip(1), tsort(1), attributes(5)
SunOS 5.10 14 Sep 1992 ld(1B)