one method is how it is mounted:
Look at /etc/fstab: Here is an extract of a gone 10.20 K class but where I kept a few config files...
or
To create a filesystem largefile enabled:
How to enable (You forgot to do the above...):
%ulimit -a
nofiles(descriptors) 1024
This means that I can open up to 1024 file per process? But wonder if there is any hardlimit imposed by Solaris 2.6 (eg 255) ?
By the way, is there any tool that can trace which files (or sockets) are opened by a process?
Thanks
DY (5 Replies)
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)
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)
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)
To find the whole size of a particular directory i use "du -sk /dirname".. but after finding the direcory's size how do i make conditions like if the size of the dir is more than 1 GB i hav to delete some of the files inside the dir (0 Replies)
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)
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)
Hi Guys,
I'm trying to install Oracle Database on to Oracle Linux 7.6 but when
the database install package checks the OS set-up, it keeps on failing
on the soft limits for the stack. It's default value is 8192 but I'm trying
to set it to 10240.
This is what I added to... (2 Replies)
Discussion started by: ASGR
2 Replies
LEARN ABOUT OSF1
fd
fd(4) Kernel Interfaces Manual fd(4)NAME
fd - file descriptor files
DESCRIPTION
The /dev/fd file system is a pseudo-file system layered beneath the Virtual File System (VFS). The file descriptor files (fd*) are those
files that are accessible through file descriptors. The file descriptors use the naming convention /dev/fd/0, /dev/fd/1, /dev/fd/2 and so
on up to any number.
To make the /dev/fd file system known to the operating system, you must create the directory with the correct privileges, then you must
mount the file system. The following steps describe how to create the directory, mount the file system both manually and automatically,
and how to dismount the file system: Create the directory using the mkdir and chmod commands: mkdir /dev/fd; chmod 777 /dev/fd Mount the
file system manually using the mount command: mount -t fdfs /dev/fd /dev/fd Mount the file system automatically by editing either the
/etc/fstab file or the /sbin/bcheckrc file.
Add the following entry to the /etc/fstab file: /dev/fd /dev/fd fdfs rw 0 0 This entry mounts the pseudodevice /dev/fd on the
/dev/fd directory with read/write privileges. The file system type is fdfs and the zeros (0) in the remaining fields specify that
the file system is not to be backed up nor can file system checks be performed by the fsck command as this is a virtual file system.
Add the following entry to the /sbin/bcheckrc file: # # mount fdfs # echo 'Mounting /dev/fd filesystem' /sbin/mount -a -v -t fdfs
Again, the /dev/fd file system should not be mounted in this manner if an entire system is to be backed up starting from the root
directory. Dismount the file system using the umount command: umount /dev/fd For correct truncate() behavior on fd files, you must
load your program using the -lsys5 flag.
RESTRICTIONS
The /dev/fd file descriptors should not be exported.
EXAMPLES
The following example show how the open and dup functions have the same effect if file descriptor n is opened:
fd = open("/dev/fd/n", mode);
fd = dup(n);
In the above example, the open function is equal to the creat function and mode is ignored. Using the dup function, subsequent reads or
writes on the fd file descriptor files fail unless the original file descriptor enables the operation.
ERRORS
The following error condition exists: The file descriptor is not valid.
RELATED INFORMATION
Commands: chmod(1), mkdir(1), mount(8).
Functions: creat(2), dup(2), open(2). delim off
fd(4)