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 CENTOS
fsadm
FSADM(8)FSADM(8)NAME
fsadm - utility to resize or check filesystem on a device
SYNOPSIS
fsadm [options] check device
fsadm [options] resize device [new_size[BKMGTEP]]
DESCRIPTION
fsadm utility checks or resizes the filesystem on a device. It tries to use the same API for ext2, ext3, ext4, ReiserFS and XFS filesys-
tem.
OPTIONS -e, --ext-offline
Unmount ext2/ext3/ext4 filesystem before doing resize.
-f, --force
Bypass some sanity checks.
-h, --help
Display the help text.
-n, --dry-run
Print commands without running them.
-v, --verbose
Be more verbose.
-y, --yes
Answer "yes" at any prompts.
new_size
Absolute number of filesystem blocks to be in the filesystem, or an absolute size using a suffix (in powers of 1024). If new_size
is not supplied, the whole device is used.
DIAGNOSTICS
On successful completion, the status code is 0. A status code of 2 indicates the operation was interrupted by the user. A status code of
3 indicates the requested check operation could not be performed because the filesystem is mounted and does not support an online fsck(8).
A status code of 1 is used for other failures.
EXAMPLES
Resize the filesystem on logical volume /dev/vg/test to 1000 megabytes. If /dev/vg/test contains ext2/ext3/ext4 filesystem it will be
unmounted prior the resize. All [y|n] questions will be answered 'y'.
fsadm -e -y resize /dev/vg/test 1000M
ENVIRONMENT VARIABLES
TMPDIR The temporary directory name for mount points. Defaults to "/tmp".
DM_DEV_DIR
The device directory name. Defaults to "/dev" and must be an absolute path.
SEE ALSO lvm(8), lvresize(8), lvm.conf(5), fsck(8), tune2fs(8), resize2fs(8), reiserfstune(8), resize_reiserfs(8), xfs_info(8), xfs_growfs(8),
xfs_check(8)Red Hat, Inc LVM TOOLS 2.02.105(2)-RHEL7 (2014-03-26) FSADM(8)