Sponsored Content
Full Discussion: File Limits on Solaris 2.6
Top Forums UNIX for Dummies Questions & Answers File Limits on Solaris 2.6 Post 3770 by loitschix on Wednesday 11th of July 2001 05:02:52 AM
Old 07-11-2001
Bug hi...

hello.

to "watch" what a process is "doing" you can use the command "truss" on sun solaris. e.g. when you want to "trace" the command ls, do:

truss ls

you will see the open syscalls and what the command is doing. to see "open networkhandles" (ports, rpc, etc...) you can use

netstat -a

and

rpcinfo

cheers, alex...
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

file number limits in Solaris 8

What is the kernel parameter ( or other) that sets the maximum number of open files by the o/s (3 Replies)
Discussion started by: blp001
3 Replies

2. UNIX for Advanced & Expert Users

nawk - file limits

Hi, I want to search particular pattern and splitting the file in to multiple files. (Splitted files may be more than 150). It got splitted upto 20 files after that, I got some error. nawk: filename.21 makes too many open files. input record number 654, file xxxxxxx Can u guide me to... (1 Reply)
Discussion started by: sharif
1 Replies

3. Solaris

Solaris counterpart of /etc/security/limits.conf

Hi, How can we set per user core file size, etc in solaris, i.e. I want solaris counterpart/equivalent of linux /etc/security/limits.conf. TIA (0 Replies)
Discussion started by: slash_blog
0 Replies

4. UNIX for Dummies Questions & Answers

ulimit and /etc/security/limits file permission

Hi there, I am working on AIX and i dont have permission for /etc/security/limits file. In the man page of ulimit it is mentioned that it will get the limitations for me from /etc/security/limits file. the file permission for ulimit command is -r-xr-xr-x 15 bin bin ... (6 Replies)
Discussion started by: quintet
6 Replies

5. Shell Programming and Scripting

Limits of FOR loop to go to end of File

Hi ALL:), I have a file for e.g. ajdflkj|dkj|djfj|go|123|4||||||||||||||89|101||||||||||||||| The length of file is not fixed. So wat the limits should be given in for loop to access till end of file???? Thanks in advance..... (2 Replies)
Discussion started by: rohiiit.sharma
2 Replies

6. UNIX Desktop Questions & Answers

File size limits

I want to increase the file size, I am trying to store the output but it's not storing the whole output in to the file (7 Replies)
Discussion started by: navintsm
7 Replies

7. HP-UX

HP-UX 10.20 file size limits?

Hi, I'm running HP-UX 10.20. Is there a 2GB file size limit? if so, can i change it? (3 Replies)
Discussion started by: gabriel.560
3 Replies

8. Linux

Determining Values for NIce and Priority items in limits.conf file

I've been looking online trying to find the correct value nice and priority can take in the limits.conf file. ON the man page it says; Does this mean priority can be any negative number and any positive? Then Does this mean any number between -20 and 19 also what does the definition of nice... (13 Replies)
Discussion started by: matthewfs
13 Replies

9. UNIX for Dummies Questions & Answers

Soft and hard limits for nproc value in /etc/security/limits.conf file (Linux )

OS version : RHEL 6.5 Below is an excerpt from /etc/security/limits.conf file for OS User named appusr in our server appusr soft nproc 2047 appusr hard nproc 16384 What will happen if appusr has already spawned 2047 processes and wants to spawn 2048th process ? I just want to know... (3 Replies)
Discussion started by: kraljic
3 Replies

10. Programming

Limits on 32 and 64 bit in C++ / C

Hi All, I am getting below run time error I checked the code and see the structure defined as below and using the file position variable typedef struct Get_file { char *current_pathname; unsigned int tot_bytes_io, physical_position; int... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies
sotruss(1)							   User Commands							sotruss(1)

NAME
sotruss - trace shared library procedure calls SYNOPSIS
/usr/bin/sotruss [-f] [-F bindfromlist] [-T bindtolist] [-o outputfile] executable [ executable arguments...] DESCRIPTION
sotruss executes the specified command and produces a trace of the library calls that it performs. Each line of the trace output reports what bindings are occurring between dynamic objects as each procedure call is executed. sotruss traces all of the procedure calls that occur between dynamic objects via the Procedure Linkage Table, so only those procedure calls which are bound via the Procedure Linkage Ta- ble will be traced. See Linker and Libraries Guide OPTIONS
-F bindfromlist A colon-separated list of libraries that are to be traced. Only calls from these libraries will be traced. The default is to trace calls from the main executable only. -T bindtolist A colon-separated list of libraries that are to be traced. Only calls to these libraries will be traced. The default is to trace all calls. -o outputfile sotruss output will be directed to the outputfile. If this option is combined with the -f option then the pid of the executing program will be placed at the end of the filename. By default sotruss output is placed on stderr. -f Follow all children created by fork() and print truss output on each child process. This option will also cause a pid to be output on each truss output line. EXAMPLES
Example 1: An example of sotruss. A simple example shows the tracing of a simple ls command: % sotruss ls | more ls -> libc.so.1:*atexit(0xef7d7d1c, 0x23c00, 0x0) ls -> libc.so.1:*atexit(0x1392c, 0xef7d7d1c, 0xef621bb0) ls -> libc.so.1:*setlocale(0x6, 0x1396c, 0xef621ba8) ls -> libc.so.1:*textdomain(0x13970, 0x1396c, 0xef621ba8) ls -> libc.so.1:*time(0x0, 0xef61f6fc, 0xef621ba8) ls -> libc.so.1:*isatty(0x1, 0xef61f6fc, 0x0) ls -> libc.so.1:*getopt(0x1, 0xeffff8fc, 0x13980) ls -> libc.so.1:*malloc(0x100, 0x0, 0x0) ls -> libc.so.1:*malloc(0x9000, 0x0, 0x0) ls -> libc.so.1:*lstat64(0x23ee8, 0xeffff7a0, 0x0) ... ls -> libc.so.1:*printf(0x13a64, 0x26208, 0x23ef0) ls -> libc.so.1:*printf(0x13a64, 0x26448, 0x23ef0) ls -> libc.so.1:*exit(0x0, 0x24220, 0x2421c) ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWtoo | +-----------------------------+-----------------------------+ SEE ALSO
ld.so.1(1), truss(1), whocalls(1), fork(2), attributes(5) Linker and Libraries Guide SunOS 5.10 12 May 1997 sotruss(1)
All times are GMT -4. The time now is 04:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy