Solaris 11 - opened files limit ?


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Solaris 11 - opened files limit ?
# 8  
Old 03-19-2019
@MadeInGermany,

pgrep logger | wc -l returned 64
pgrep httpd| wc -l returned 52




Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules!
°

Last edited by RudiC; 03-20-2019 at 05:24 AM.. Reason: Added CODE tags.
# 9  
Old 03-19-2019
That's something else: the number of processes.
The "pgrep httpd" in backticks gives the pids, and the "pfiles" gives the "file descriptors".
Code:
pfiles `pgrep httpd`

Code:
pfiles `pgrep httpd` | grep 'file descriptors'

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script or alias to backup all files opened by vi

we want to backup all opened files by vi before editing also with version information. i wrote below alias to backup crontab file content with version info. What i want know is to make this opened files by vi. We want to prevent user mistakes by adding this alias. alias crontab='DATE=$(date... (4 Replies)
Discussion started by: sebu
4 Replies

2. Shell Programming and Scripting

File exists, but cannot be opened.How to check- whether it could be opened to read when it exists

Hi #Testing for file existence if ; then echo 'SCHOOL data is available for processing' else echo 'SCHOOL DATA IS NOT AVAILABLE FOR PROCESSING' : i wrote a script, where it begins by checking if file exists or not. If it exists, it truncates the database... (2 Replies)
Discussion started by: rxg
2 Replies

3. Solaris

How to change directory limit in Solaris?

Hi, I am using Solaris 10. i was trying to make a new directory in /u04 but it don't let me make directory unless i remove some other directories. i issued the following command df -F ufs -o i Filesystem iused ifree %iused Mounted on /dev/dsk/c1t0d0s0 ... (2 Replies)
Discussion started by: malikshahid85
2 Replies

4. UNIX for Advanced & Expert Users

Number of files currently opened in linux

Hello, How do i check number of files currently opening in the linux server? Your help is highly appreciated. Thank you ---------- Post updated at 02:43 PM ---------- Previous update was at 02:19 PM ---------- never mind!! I got it. ---------- Post updated at 02:44 PM ---------- Previous... (3 Replies)
Discussion started by: govindts
3 Replies

5. Solaris

limit on Solaris username lengths?

Hi this question applies to Solaris 8,9,10 and opensolaris as in my environment it applies to all of these Is there a limit on the size of the username (in /etc/passwd) or indeed does there come a point where, like the 8 character limitation of passwords, the system receives the input but... (6 Replies)
Discussion started by: hcclnoodles
6 Replies

6. Solaris

How to set Root password age limit in Solaris 9/10

Hi Friends, Can anyone tell me how can I set the password age limit for root user to 14 days....??? Also would like to add following for root password; min-alpha --- 4 min-other --- 1 min-length -- 6 min-diff ----- 3 How can I do these on command line....??? Regards, jumadhiya (7 Replies)
Discussion started by: jumadhiya
7 Replies

7. Shell Programming and Scripting

multiple files opened in awk

Hi , i' d like to use an awk script to automate the ripping of cds : here's how it works : - i first create a file named songs.txt containing the name of the songs - the scripts extracts the tracks of a cd with cdparanoia - the scripts saves the contents of the dir with ls (ls > list.txt) -... (0 Replies)
Discussion started by: krhamidou
0 Replies

8. HP-UX

How to get the opened files by a process

Hi, i'd like to get the files which are opened by a process during his execution using the c language. Thanks for helping me. (2 Replies)
Discussion started by: benoit.gaillard
2 Replies

9. Solaris

SUN Solaris 9 - Is there a 2GB file size limit?

Hi I am using SUN/Solaris 9 and I was told that some unix versions have 2GB size limit. Does this applies to SUN/Solaris 9? Thanks. (2 Replies)
Discussion started by: GMMike
2 Replies

10. UNIX for Dummies Questions & Answers

Linux/Solaris has any limit on folder size ?

Hi, Does Linux/Solaris has any limit on folder size or number of files per folder? Thanks Bache Gowda (1 Reply)
Discussion started by: bache_gowda
1 Replies
Login or Register to Ask a Question