Hi,
I have written a daemon process, to perform certain operations in the background.
For this I have to close, the open file descriptors,
Does anybody know how to find out the number of open file descriptors ?
Thanks in Advance,
Sheetal (2 Replies)
Hello all,
A few questions on file descriptors ...
scenario : Sun Ultra 30 with Sun OS 5.5.1 , E250 with Solaris 2.6
In one of my servers, the file descriptor status from the soft limit and hard limits are 64 and 1024 respectively for root user.
Is the soft limit (64) represents the... (3 Replies)
i m trying to learn processes in unix and i've been reading this but i don't quite get it. its regarding file descriptors. : each is a part of file pointers, they point to another area. indexes into an Operating system maintained table called "file descriptor table". one table per process. may... (3 Replies)
I have set the maximum no of file descriptors open in a process to the value 8192 using the following lines
set rlim_fd_max=8192
set rlim_fd_cur=8192
in the /etc/system file.
I rebooted the machine and the command ulimit -n / -Hn both display the limits as 8192. However when I run my... (2 Replies)
Hi!
I currently run a very long script (two hour left...) on a remote computer through a ssh session. I wonder whats happend if I close the ssh session, or even, the terminal. Is the script running on remote will stop?
Thanks for your answers,
Tp (1 Reply)
Hello,
I have a Bash script that processes a text file so that the existing file will look something like this:
/www/repository/2010/201002231329532/LTLO_0407.pdf
/www/repository/2010/201002231329532/LTLO_0507.pdf
/www/repository/2010/201002231329532/LTLO_0607.pdf... (1 Reply)
Hi guys,
i need to write a shell script that will close file descriptors from /proc/pid/fd
will calling exec 4<&- solve the problem ?
thanks in advance :) (15 Replies)
I am running a process in nohup .
nohup getkeys.ksh 132 > 132.out &
When I close the putty terminal,The process is getting killed .
default_signal_handler called for signal no: 1
Is there a way to keep the process running even If I close the terminal (2 Replies)
Cygwin bash script was invoked in bash shell as follows:
/cygdrive/c/cygwin/bin/bash test.sh
This is content of my script
#!/bin/bash
#
exec 3</cygdrive/c/cygwin/home/work/part1.txt
read -u 3 x
echo $x
exec 3<&-
Commands work correctly when issued one at a time within bash shell.... (2 Replies)
Discussion started by: joed270
2 Replies
LEARN ABOUT DEBIAN
fusioninventory::agent::tools::linux
FusionInventory::Agent::Tools::Linux(3pm) User Contributed Perl Documentation FusionInventory::Agent::Tools::Linux(3pm)NAME
FusionInventory::Agent::Tools::Linux - Linux generic functions
DESCRIPTION
This module provides some generic functions for Linux.
FUNCTIONS
getDevicesFromUdev(%params)
Returns a list of devices, by parsing udev database.
Availables parameters:
logger a logger object
getDevicesFromHal(%params)
Returns a list of devices, by parsing lshal output.
Availables parameters:
logger a logger object
command the exact command to use (default: /usr/sbin/lshal)
file the file to use, as an alternative to the command
getDevicesFromProc(%params)
Returns a list of devices, by parsing /proc filesystem.
Availables parameters:
logger a logger object
getCPUsFromProc(%params)
Returns a list of cpus, by parsing /proc/cpuinfo file
Availables parameters:
logger a logger object
file the file to use (default: /proc/cpuinfo)
getInfoFromSmartctl(%params)
Returns some information about a drive, using smartctl.
Availables parameters:
logger a logger object
device the device to use
file the file to use
getInterfacesFromIfconfig(%params)
Returns the list of interfaces, by parsing ifconfig command output.
Availables parameters:
logger a logger object
command the command to use (default: /sbin/ifconfig -a)
file the file to use
getInterfacesFromIp(%params)
Returns the list of interfaces, by parsing ip command output.
Availables parameters:
logger a logger object
command the command to use (default: /sbin/ip addr show)
file the file to use
perl v5.14.2 2012-06-25 FusionInventory::Agent::Tools::Linux(3pm)