09-30-2009
You might just have reordered your PATH to include /usr/ccs/bin before /usr/ucb (or just remove /usr/ucb which contains BSD compatible utilities you probably don't need anyway).
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have recently installed Solaris 2.8 from CD. The setup program asked me if I wanted developer, server, or workstation support which I probably took the default (not developer). Now, however, I am installing another piece of software that needs /usr/ccs/bin/make which wasn't installed with the... (4 Replies)
Discussion started by: marist89
4 Replies
2. 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
3. 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
4. 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
5. Programming
Hi,
I am getting the following error while compiling my C++ program using GCC compiler.
/usr/ccs/bin/ld: Unsatisfied symbols:
display (first referenced in /var/tmp//cclSYScd.o) (code)
collect2: ld returned 1 exit status
Can anybody help me out?
Thanks in advance..!! (1 Reply)
Discussion started by: Kattoor
1 Replies
6. 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
7. 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
8. Solaris
Hi Guys,
OS:- Solaris 10 64Bit
I have a small query.
On one server a user is facing sed command issue.
He gets error regarding sed for this location
/users/hoy/2999/batch5/bin/internal.sh: /usr/local/bin/sed: not found
How ever the sed is actually present at this location on server:-... (13 Replies)
Discussion started by: manalisharmabe
13 Replies
9. BSD
I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries.
I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble:
$ ./autogen.sh
checking... (2 Replies)
Discussion started by: AntumDeluge
2 Replies
lint(1B) SunOS/BSD Compatibility Package Commands lint(1B)
NAME
lint - C program verifier
SYNOPSIS
/usr/ucb/lint [options]
DESCRIPTION
/usr/ucb/lint is the interface to the BSD Compatibility Package C program verifier. It is a script that looks for the link
/usr/ccs/bin/ucblint to the C program verifier. /usr/ccs/bin/ucblint is available only with the SPROcc package, whose default location is
/opt/SUNWspro. /usr/ucb/lint is identical to /usr/ccs/bin/ucblint, except that BSD headers are used and BSD libraries are linked before
base libraries. The /opt/SUNWspro/man/man1/lint.1 man page is available only with the SPROcc package.
OPTIONS
/usr/ucb/lint accepts the same options as /usr/ccs/bin/ucblint, with the following exceptions:
-Idir Search dir for included files whose names do not begin with a slash (/) prior to searching the usual directories. The
directories for multiple -I options are searched in the order specified. The preprocessor first searches for #include files
in the directory containing sourcefile, and then in directories named with -I options (if any), then /usr/ucbinclude, and
finally, in /usr/include.
-Ldir Add dir to the list of directories searched for libraries by /usr/ccs/bin/ucblint. This option is passed to
/usr/ccs/bin/ld. Directories specified with this option are searched before /usr/ucblib and /usr/lib.
-Y P, dir Change the default directory used for finding libraries.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
FILES
/usr/lint/bin/ld link editor
/usr/lib/libc C library
/usr/ucbinclude BSD Compatibility directory for header files
/usr/ucblib BSD Compatibility directory for libraries
/usr/ucblib/libucb BSD Compatibility C library
/usr/lib/libsocket library containing socket routines
/usr/lib/libnsl library containing network functions
/usr/lib/libelf library containing routines to process ELF object files
/usr/lib/libaio library containing asynchronous I/O routines
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO
ld(1), a.out(4), attributes(5)
SunOS 5.10 1 Feb 1995 lint(1B)