07-12-2010
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello ,
I want to get current system open file table value. Can any one help.
Thanking you,
mahesh (0 Replies)
Discussion started by: mahesh.
0 Replies
2. Infrastructure Monitoring
hi 2 all
i installed nagios in my linux srvr . check_ftp file is in format of system format .
i wants to see the syntax for that script
how can i read that file .. ???
please help me ! (4 Replies)
Discussion started by: ponmuthu
4 Replies
3. Shell Programming and Scripting
Hi, One of the customer wants to receive the file with name //CEC821.K003GUK.DOMD(+1) on their linux system. I am using Java application to send the file to remote system, but I am not able to send the file with that name ane even i am not able to create the file with that name on linux system.
... (6 Replies)
Discussion started by: Satyak
6 Replies
4. UNIX for Advanced & Expert Users
I am to start working on two project on Linux Device Drivers and other on File System.
So I got the book "Understanding Linux Kernel" by Daniel and Marco.
But I am confused as how to proce
Will anybody pls let me know how to go to about studying the chapter in this book? I mean the order in... (1 Reply)
Discussion started by: shefalibv
1 Replies
5. AIX
I have a following requirement in production
system 1 : LINUX
User: abcd
system 2: AIX (it is hosting a production DB)
Requirement
user abcd from system 1 should have read access on archive log files created by DB on system 2. The log files are created with permissions 540 by user ora ,... (2 Replies)
Discussion started by: amitnm1106
2 Replies
6. Shell Programming and Scripting
We would be migrating UNIX file system to Linux file system.
We do have many directory and sub directories with files.
after migrating unix to linux file system , i want to make sure all the files has been copied ? What would be the best approach to validate directory ,sub-directory and file... (1 Reply)
Discussion started by: balajikalai
1 Replies
7. UNIX for Advanced & Expert Users
My root file system is of type LVM. i wanna shrink it but unable to do so.
When i give the below command:
resize2fs /dev/mapper/VolGroup00-VolLog00 10000M
it messages that online shrink can't can't be done as the logical volume is mounted on /. i switched to single user mode by giving command:... (2 Replies)
Discussion started by: ravisingh
2 Replies
LEARN ABOUT DEBIAN
sys::statistics::linux::filestats
Sys::Statistics::Linux::FileStats(3pm) User Contributed Perl Documentation Sys::Statistics::Linux::FileStats(3pm)
NAME
Sys::Statistics::Linux::FileStats - Collect linux file statistics.
SYNOPSIS
use Sys::Statistics::Linux::FileStats;
my $lxs = Sys::Statistics::Linux::FileStats->new;
my $stat = $lxs->get;
DESCRIPTION
Sys::Statistics::Linux::FileStats gathers file statistics from the virtual /proc filesystem (procfs).
For more information read the documentation of the front-end module Sys::Statistics::Linux.
FILE STATISTICS
Generated by /proc/sys/fs/file-nr, /proc/sys/fs/inode-nr and /proc/sys/fs/dentry-state.
fhalloc - Number of allocated file handles.
fhfree - Number of free file handles.
fhmax - Number of maximum file handles.
inalloc - Number of allocated inodes.
infree - Number of free inodes.
inmax - Number of maximum inodes.
dentries - Dirty directory cache entries.
unused - Free diretory cache size.
agelimit - Time in seconds the dirty cache entries can be reclaimed.
wantpages - Pages that are requested by the system when memory is short.
METHODS
new()
Call "new()" to create a new object.
my $lxs = Sys::Statistics::Linux::FileStats->new;
It's possible to set the path to the proc filesystem.
Sys::Statistics::Linux::FileStats->new(
files => {
# This is the default
path => '/proc',
file_nr => 'sys/fs/file-nr',
inode_nr => 'sys/fs/inode-nr',
dentries => 'sys/fs/dentry-state',
}
);
get()
Call "get()" to get the statistics. "get()" returns the statistics as a hash reference.
my $stat = $lxs->get;
EXPORTS
No exports.
SEE ALSO
proc(5)
REPORTING BUGS
Please report all bugs to <jschulz.cpan(at)bloonix.de>.
AUTHOR
Jonny Schulz <jschulz.cpan(at)bloonix.de>.
COPYRIGHT
Copyright (c) 2006, 2007 by Jonny Schulz. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-03-09 Sys::Statistics::Linux::FileStats(3pm)