07-16-2010
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
Last edited by radoulov; 07-16-2010 at 05:33 AM..
Reason: Subject line fixed.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
%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)
Discussion started by: deaniyoer
5 Replies
2. UNIX for Dummies Questions & Answers
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
3. UNIX for Advanced & Expert Users
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
4. UNIX for Dummies Questions & Answers
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
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. HP-UX
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
7. Shell Programming and Scripting
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)
Discussion started by: shaal89
0 Replies
8. Linux
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
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. Red Hat
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
secret-tool
SECRET-TOOL(1) User Commands SECRET-TOOL(1)
NAME
secret-tool - Store and retrieve passwords
SYNOPSIS
secret-tool store --label='Label' {attribute} {value} ...
secret-tool lookup {attribute} {value} ...
secret-tool clear {attribute} {value} ...
secret-tool search [--all]{attribute} {value} ...
DESCRIPTION
secret-tool is a command line tool that can be used to store and retrieve passwords.
Each password is stored in an item. Items are uniquely identified by a set of attribute keys and values. When storing a password you must
specify unique pairs of attributes names and values, and when looking up a password you provide the same attribute name and value pairs.
STORE
To store a password run secret-tool with the store argument. You must also specify a label for the passward with the --label argument. This
label will be displayed in the password manager.
Make sure to pass a unique set of attributes names and values when storing a password. If the attributes match an already existing item, it
will be updated instead of creating a new item.
If invoked from a terminal or tty, then the password to store will be prompted for and only one line will be accepted.
A password to store can also be piped in via stdin. The password will be the contents of stdin until EOF. If you provide a newline via
stdin it will be stored as part of the password.
LOOKUP
To lookup a password run secret-tool with the lookup argument. Specify the same same attribute names and value pairs that you passed when
storing the password.
If multiple items match the attribute provided, then the first password that is already unlocked will be returned. If necessary an item
will be unlocked.
When printing the password to a terminal or tty, an extra newline will be added after the password.
CLEAR
To remove a password run secret-tool with the clear argument. Specify the same attirbute name and value pairs that you passed when storing
the password.
All unlocked items that match the attributes will be removed.
SEARCH
This command searches for and prints details on matching items in secret service. Specify the same attribute and value pairs that you
passed in when storing the password. You can use the following options:
--all
Return all matching results, rather than just the one of the matches. Without this option, the first unlocked match returned from the
service will be printed.
--unlock
Unlock items that are locked and then print out their details. Without this option, locked items are skipped.
EXIT STATUS
On success 0 is returned, a non-zero failure code otherwise.
EXAMPLES
Example 1. Storing, retrieving, and clearing a password
$ secret-tool store --label='My password' key1 value1 key2 value2
Password: My password
$ secret-tool lookup key1 value1 key2 value2
My password
$ secret-tool clear key1 value1 key2 value2
XDG
SECRET-TOOL(1)