Main > Free Download Search >

Free stat software for linux

stat

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 233
File::stat 0.1

File::stat 0.1


File::stat is a by-name interface to Perls built-in stat() functions. more>>
File::stat is a by-name interface to Perls built-in stat() functions.

SYNOPSIS

use File::stat;
$st = stat($file) or die "No $file: $!";
if ( ($st->mode & 0111) && $st->nlink > 1) ) {
print "$file is executable with lotsa linksn";
}

use File::stat qw(:FIELDS);
stat($file) or die "No $file: $!";
if ( ($st_mode & 0111) && $st_nlink > 1) ) {
print "$file is executable with lotsa linksn";
}

This modules default exports override the core stat() and lstat() functions, replacing them with versions that return "File::stat" objects. This object has methods that return the similarly named structure field name from the stat(2) function; namely, dev, ino, mode, nlink, uid, gid, rdev, size, atime, mtime, ctime, blksize, and blocks.

You may also import all the structure fields directly into your namespace as regular variables using the :FIELDS import tag. (Note that this still overrides your stat() and lstat() functions.) Access these fields as variables named with a preceding st_ in front their method names. Thus, $stat_obj->dev() corresponds to $st_dev if you import the fields.

To access this functionality without the core overrides, pass the use an empty import list, and then access function functions with their full qualified names. On the other hand, the built-ins are still available via the CORE:: pseudo-package.

<<less
Download (14.2MB)
Added: 2007-04-27 License: Perl Artistic License Price:
910 downloads
dim_STAT 8.3

dim_STAT 8.3


A performance analysis and monitoring tool for Solaris and Linux more>>
dim_STAT 8.3 is yet another excellent utility you should not miss. It is actually a performance analysis and monitoring tool for Solaris and Linux (as well all other UNIX) systems.

Major Features:

  1. Web based interface
  2. Data storage in a SQL database
  3. Several data views
  4. Interactive (Java) or static (PNG) graphs
  5. Real-time monitoring
  6. Multi-host monitoring
  7. Post analyzing
  8. Statistics integration
  9. Professional reporting with automated features, and more.

Enhancements: Jul.2009

  • Fixes :
    • security issue on STAT-service!!
    • execution dim_STAT CLI from the web services
    • fixed LANG=C and LC_ALL=C via the main STAT-service script
  • Improvements :
    • Optional Admin password may be given on a database creation and then it'll be required for any admin action!
    • Database error messages are now handled separately from LOG messages
    • Java WebDRAW Applet updated
    • add color LEDs near hostnames to signal running or stopped hosts
    • add #Records column to have an idea about a number of database rows per collect
    • Admin LOG management is working more friendly now with a long lists of messages
    • STAT-service daemon may listen exclusively on a given IP address now [IP:port]
    • Whole database backup is added to the Admin menu
  • Database schema :
    • iostat disk names are moved to varchar(64)
    • all float values are moved to float(25,5) to have an easily human reading
    • Add-On name limit is 14 characters now
  • Report Tool :
    • wiki-like syntax is added to simplify writing!
    • look & feel updated
    • some minor fixes here & there
  • EasySTAT additional options :
    • COMPRESS=gzip (to automatically compress each output file)
    • TIMER=yes (automatically adding timestamps and sync tags within output files)
  • New Add-Ons :
    • HAR v2 (CPU chip counters, ex. mips, cache miss, etc.)
    • Solaris CPU-Set STAT (mpstat -a)
    • Linux MPSTAT v2
    • MySQL STAT
    • InnoDB STAT
    • InnoDB I/O STAT (adoption of Neel's DTrace script )
    • PgSQL STAT (PostgreSQL stats)
    • ZoneLOAD: zoneid => zonename
<<less
Added: 2009-07-06 License: GPL Price: FREE
15 downloads
htb-stats 1.25

htb-stats 1.25


htb-stats.sh is a useful script for htb class summarization. more>>
htb-stats.sh is a useful script for htb class summarization. htb-stats is designed to allow simple, non-root usage, e.g. "./htb-stats.sh eth0".
If an htb.init, tcng.init, or htb-gen configuration is found, it will label traffic output with information taken from respective configuration files.
Enhancements:
- support label-less , adapt to newer tcs backlog output
<<less
Download (0.008MB)
Added: 2006-04-13 License: GPL (GNU General Public License) Price:
1294 downloads
Vice Stats 1.1

Vice Stats 1.1


Vice Stats is an advanced Web site statistics gathering package. more>>
Vice Stats is an advanced Web site statistics gathering package. Vice Stats collects data about the resources in a Web site, the visitors to that site, and the referring resources. Vice Stats runs in PHP and stores its data in a MySQL database.
Enhancements:
- The $vs_resourceQuery parameter is properly taken into effect in the Resources tab on the front page.
- The $vs_resourceHost parameter was added for sites that have more than one subdomain.
- There are updates to the browser and IP location databases.
<<less
Download (0.56MB)
Added: 2006-11-15 License: GPL (GNU General Public License) Price:
1074 downloads
Stat::lsMode 0.50

Stat::lsMode 0.50


Stat::lsMode Perl module can format file modes like the ls -l command does. more>>
Stat::lsMode Perl module can format file modes like the ls -l command does.

SYNOPSIS

use Stat::lsMode;

$mode = (stat $file)[2];
$permissions = format_mode($mode);
# $permissions is now something like `drwxr-xr-x

$permissions = file_mode($file); # Same as above

$permissions = format_perms(0644); # Produces just rw-r--r--

$permissions = format_perms(644); # This generates a warning message:
# mode 644 is very surprising. Perhaps you meant 0644...

Stat::lsMode->novice(0); # Disable warning messages

Stat::lsMode generates mode and permission strings that look like the ones generated by the Unix ls -l command. For example, a regular file that is readable by everyone and writable only by its owner has the mode string -rw-r--r--. Stat::lsMode will either examine the file and produce the right mode string for you, or you can pass it the mode that you get back from Perls stat call.

format_mode

Given a mode number (such as the third element of the list returned by stat), return the appopriate ten-character mode string as it would have been generated by ls -l. For example, consider a directory that is readable and searchable by everyone, and also writable by its owner. Such a directory will have mode 040755. When passed this value, format_mode will return the string drwxr-xr-x.
If format_mode is passed a permission number like 0755, it will return a nine-character string insted, with no leading character to say what the file type is. For example, format_mode(0755) will return just rwxr-xr-x, without the leading d.

file_mode

Given a filename, do lstat on the file to determine the mode, and return the mode, formatted as above.

Novice Operation Mode

A common mistake when dealing with permission modes is to use 644 where you meant to use 0644. Every permission has a numeric representation, but the representation only makes sense when you write the number in octal. The decimal number 644 corresponds to a permission setting, but not the one you think. If you write it in octal you get 01204, which corresponds to the unlikely permissions -w----r-T, not to rw-r--r--.

The appearance of the bizarre permission -w----r-T in a program is almost a sure sign that someone used 644 when they meant to use 0644. By default, this module will detect the use of such unlikely permissions and issue a warning if you try to format them. To disable these warnings, use

Stat::lsMode->novice(0); # disable novice mode

Stat::lsMode->novice(1); # enable novice mode again

The surprising permissions that are diagnosed by this mode are:

111 => --xr-xrwx
400 => rw--w----
440 => rw-rwx---
444 => rw-rwxr--
551 => ---r--rwt
600 => --x-wx--T
640 => -w------T
644 => -w----r-T
660 => -w--w-r-T
664 => -w--wx--T
666 => -w--wx-wT
700 => -w-rwxr-T
711 => -wx---rwt
750 => -wxr-xrwT
751 => -wxr-xrwt
751 => -wxr-xrwt
755 => -wxrw--wt
770 => r------wT
771 => r------wt
775 => r-----rwt
777 => r----x--t

Of these, only 400 is remotely plausible.

BUGS

As far as I know, the precise definition of the mode bits is portable between varieties of Unix. The module should, however, examine stat.h or use some other method to find out if there are any local variations, because Unix being Unix, someone somewhere probably does it differently.

Maybe it file_mode should have an option that says that if the file is a symlink, to format the mode of the pointed to file instead of the mode of the link itself, the way ls -Ll does.

<<less
Download (0.004MB)
Added: 2006-05-30 License: Perl Artistic License Price:
1243 downloads
ccache stats 0.2

ccache stats 0.2


ccache stats is a simple way to get real time ccache stats for gentoo maniacs!! more>>
ccache stats is a simple way to get real time ccache stats for gentoo maniacs!! I was in trouble formatting output.

Finally I wrote a horrible perl script to do it, trying to limit damages caused by file accesses...

Im not a programmer and I havent so much time, so Im sure it can be improved.. First of all Ill be involved in improving graphics!!

Feel free to give suggestion!

OK.. At the moment I assume you install it by superkaramba tool.. so I match its download directory to run the script stats.pl.. If you download it via website make sure the corresponding line in .theme file match the correct dir! (Im studying a way to skip this problem)

<<less
Download (0.004MB)
Added: 2006-06-21 License: GPL (GNU General Public License) Price:
1220 downloads
Fear Stats 1.1.8

Fear Stats 1.1.8


Fear Stats generates player stats from F.E.A.R. server log files, and stores them in a MySQL database. more>>
Fear Stats project generates player stats from F.E.A.R. server log files, and stores them in a MySQL database.
Enhancements:
- Improved Scoring Calculations for all game modes
- Created new Sub to handle checking for existing records.
- Transactoins now fully supported for InnoDB
- Corrected Players Objective Score not calculating into total session score.
<<less
Download (0.085MB)
Added: 2007-03-02 License: GPL (GNU General Public License) Price:
971 downloads
Event::Stats 0.7

Event::Stats 0.7


Event::Stats is a Perl module for event loop statistics. more>>
Event::Stats is a Perl module for event loop statistics. Instrument the Event module in order to gather statistics.

API

collect($yes)

Determines whether statistics are collected. Arithmetically adds $yes to the usage count. Stats are enabled while the usage count is positive.

$round_sec = round_seconds($sec)

Statistics are not collected in one second intervals. This function converts a *desired* time interval into an *available* time interval. Units are in seconds.

$elapse = total_time($sec)

Due to long-running callbacks, measurement intervals may take longer than expected. This function returns the actual clock-time for a given measurement interval.

($rans, $dies, $elapse) = idle_time($sec)

($runs, $dies, $elapse) = $watcher->stats($sec)

Return statistics for the last $sec seconds of operation. Three numbers are returned: the number of times the callback has been invoked, the number of uncaught exceptions and the number of seconds spent within the callback. Also see NetServer::ProcessTop.

enforce_max_callback_time($yes)

Useful for debugging. XXX

<<less
Download (0.005MB)
Added: 2007-04-04 License: Perl Artistic License Price:
933 downloads
OpenWebStats 1.1

OpenWebStats 1.1


OpenWebStats is a PHP stats application that reads Apache log files. more>>
OpenWebStats is a PHP stats application that reads Apache log files and imports the data to a MySQL database.
It then provides an awstats-style reporting tool so that you can review stats on demand from the database. Stats updates are available through cron jobs or the Web interface.
Enhancements:
- Changed Year from hardcoded 2005 to a dynamic current and last year.
- Added full page views to hosts, referers, keywords, and pages
- Drastically improved the class_apache_logs_import.php to not readin the full log to an array. Thus no more memory errors.
- Updated the update now message with flush to show that it is running.
<<less
Download (0.080MB)
Added: 2005-07-06 License: GPL (GNU General Public License) Price:
1570 downloads
Access Stats 1.12

Access Stats 1.12


Access Stats provides a script that enables you to keep track of activities on your web site. more>>
Access Stats provides a script that enables you to keep track of activities on your web site.

Access Stats allows you to keep track of activities on your web site.

It extracts some statistic from a log file generated by log.pl.

These reports are generated by Access Stats:

- Visits by day
- Visits by hour
- Visits by week-day
- Referer
- Browser
- Operating System
- Countries
- Hostnames

<<less
Download (0.059MB)
Added: 2007-04-27 License: GPL (GNU General Public License) Price:
916 downloads
JoeDog::Stats 1.14

JoeDog::Stats 1.14


JoeDog::Stats provides a perl module that performs statistical analyses on grouped or ungrouped data. more>>
JoeDog::Stats provides a perl module that performs statistical analyses on grouped or ungrouped data.

A perl module that performs statistical analyses on grouped or ungrouped data provided by arrays, hashes or frequency distributions. Frequency distributions can be saved to file and loaded later.

These files require a fraction of disk space compared to the original data. They are perfect for long-term storage and analysis.

INSTALLATION
JoeDog::Stats.pm was built using perl Make::Maker utility
If you are familiar with that utility you should have no
problem with this installation as it will be familiar:

$ perl Makefile.PL
$ make
$ make test
$ su
$ make install

USAGE
see: perldoc JoeDog::Stats

<<less
Download (0.016MB)
Added: 2007-03-23 License: GPL (GNU General Public License) Price:
945 downloads
File::Stat::Bits 1.00

File::Stat::Bits 1.00


File::Stat::Bits - stat bit mask constants. more>>
File::Stat::Bits - stat bit mask constants.

SYNOPSIS:

use File::stat;
use File::Stat::Bits;

my $st = stat($file) or die "Cant stat $file: $!";

if ( S_ISCHR($st->mode) ) {
my ($major, $minor) = dev_split( $st->rdev );

print "$file is character device $major:$minorn";
}

printf "Permissions are %04on", $st->mode & ALLPERMS;

(Too many S_IF* constants to example)

Lots of Perl modules use the Unix file permissions and type bits directly in binary form with risk of non-portability for some exotic bits. Note that the POSIX module does not provides all needed constants and I cant wait when the POSIX module will be updated.

This separate module provides file type/mode bit and more constants from sys/stat.ph and sys/sysmacros.ph without pollution callers namespace by other unneeded symbols from these headers. Most of these constants exported by this module are Constant Functions (see perlsub).

Since some of Perl builds does not include these converted headers, the build procedure will generate it for itself in the its own lib directory.

This module also should concentrate all portability and compatibility issues.

CONSTANTS

File type bit masks (for the st_mode field):

S_IFMT bitmask for the file type bitfields
S_IFDIR directory
S_IFCHR character device
S_IFBLK block device
S_IFREG regular file
S_IFIFO fifo (named pipe)
S_IFLNK symbolic link
S_IFSOCK socket
=cut

sub S_IFMT () { File::Stat::Bits::dirty::S_IFMT () }
sub S_IFDIR () { File::Stat::Bits::dirty::S_IFDIR () }
sub S_IFCHR () { File::Stat::Bits::dirty::S_IFCHR () }
sub S_IFBLK () { File::Stat::Bits::dirty::S_IFBLK () }
sub S_IFREG () { File::Stat::Bits::dirty::S_IFREG () }
sub S_IFIFO () { File::Stat::Bits::dirty::S_IFIFO () }
sub S_IFLNK () { File::Stat::Bits::dirty::S_IFLNK () }
sub S_IFSOCK() { File::Stat::Bits::dirty::S_IFSOCK() }


File access permission bit masks (for the st_mode field):

S_IRWXU mask for file owner permissions
S_IRUSR owner has read permission
S_IWUSR owner has write permission
S_IXUSR owner has execute permission
S_ISUID set UID bit

S_IRWXG mask for group permissions
S_IRGRP group has read permission
S_IWGRP group has write permission
S_IXGRP group has execute permission
S_ISGID set GID bit

S_IRWXO mask for permissions for others
S_IROTH others have read permission
S_IWOTH others have write permisson
S_IXOTH others have execute permission
S_ISVTX sticky bit

Common mode bit masks:

ACCESSPERMS 0777
ALLPERMS 07777
DEFFILEMODE 0666
=cut

sub S_IRWXU() { File::Stat::Bits::dirty::S_IRWXU() }
sub S_IRUSR() { File::Stat::Bits::dirty::S_IRUSR() }
sub S_IWUSR() { File::Stat::Bits::dirty::S_IWUSR() }
sub S_IXUSR() { File::Stat::Bits::dirty::S_IXUSR() }
sub S_ISUID() { File::Stat::Bits::dirty::S_ISUID() }

sub S_IRWXG() { File::Stat::Bits::dirty::S_IRWXG() }
sub S_IRGRP() { File::Stat::Bits::dirty::S_IRGRP() }
sub S_IWGRP() { File::Stat::Bits::dirty::S_IWGRP() }
sub S_IXGRP() { File::Stat::Bits::dirty::S_IXGRP() }
sub S_ISGID() { File::Stat::Bits::dirty::S_ISGID() }

sub S_IRWXO() { File::Stat::Bits::dirty::S_IRWXO() }
sub S_IROTH() { File::Stat::Bits::dirty::S_IROTH() }
sub S_IWOTH() { File::Stat::Bits::dirty::S_IWOTH() }
sub S_IXOTH() { File::Stat::Bits::dirty::S_IXOTH() }
sub S_ISVTX() { File::Stat::Bits::dirty::S_ISVTX() }

sub ACCESSPERMS() { S_IRWXU|S_IRWXG|S_IRWXO }
sub ALLPERMS() { S_ISUID|S_ISGID|S_ISVTX|ACCESSPERMS }
sub DEFFILEMODE() { S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH }

FUNCTIONS

File type test macros (for the st_mode field):

S_ISDIR ( mode ) directory?
S_ISCHR ( mode ) character device?
S_ISBLK ( mode ) block device?
S_ISREG ( mode ) regular file?
S_ISFIFO( mode ) fifo (named pipe)?
S_ISLNK ( mode ) is it a symbolic link?
S_ISSOCK( mode ) socket?

All returns boolean value.


$major = major( $st_rdev )

Returns major device number of st_rdev


$minor = minor( $st_rdev )

Returns minor device number of st_rdev


($major, $minor) = dev_split( $st_rdev )

Splits st_rdev to major and minor device numbers


$st_rdev = dev_join( $major, $minor )

Makes st_rdev from major and minor device numbers (makedev())

<<less
Download (0.009MB)
Added: 2006-05-30 License: Perl Artistic License Price:
1242 downloads
Stats Collector 3.0

Stats Collector 3.0


Stats Collector is a set of tools intended to get statistical values from remote nodes. more>>
It is a package useful to collect statistics from remote nodes. That includes standard server metrics and any other numerical quantity we can use to characterize the node state (as the number of users or processes).

It is built under a distributed agent-manager model. RRDtool is used as database, so representation capabilities are bundled.

Although rrdUtils are not a requisite, they are used in some auxiliar tasks and using both tools is highly recommended.

Installation:

Manager side

gunzip -c rrdUtils-3.1.tar.gz | tar -xf -
cd rrdUtils
./configure --with-rrddir=/stats
make install

gunzip -c stats-station-3.0.tar.gz | tar -xf -
cd stats-station
./configure --with-statsdir=/stats --with-port=666
make install

cd rrdConf
./install_confs.sh
./haz_index.sh -g

The -g flag creates graphs with the html pages, and reduces the number of error messages that haz_index will issue.
The only task that needs to be completed at this point is the periodic graphs generation by a crontab entry that calls the make_graphs.sh script.
Once we start the server using the provided initscript, we get the manager side ready.

Agent side

gunzip -c stats-3.0.tar.gz | tar -xf -
cd stats
./configure --with-host=central.node --with-port=666
--with-statsdir=/usr/local/stats
make install

With a crontab entry to execute the statlaunch script every 15 minutes, the whole system is up and running.
<<less
Download (0.018MB)
Added: 2005-07-05 License: GPL (GNU General Public License) Price:
1572 downloads
mroovca stats 0.5.3

mroovca stats 0.5.3


mroovca stats is a Web site statistics generator with various functions and tables. more>>
mroovca stats is a Web site statistics generator with various functions and tables. mroovca stats is simple, configurable, and provides an administrative interface.
It can measure statistics concerning the client browser, geolocalization, connection type, and referers. It can also recognize Polish towns.
In 2001 ive started to write my own version of web-site(s) statisics, since that time i had to change my name, changed from flat-file to datadase and finally rewrite whole code to be more flexible.
To work with databases it uses "dbx" functions module from PHP. At this moment its tested only with MySQL and prepared to work with this db engine. But in close future i will provide installer, updater and support for other database engines.
But its not end. im working for more enchancements and statistics including tables, charts, maps, etc.
Just download, extract from archive, configure and use it!!
Main features:
- easy instller/updater (for versions >=0.4.4)
- language support - english and polish at this time
- prepared for work with more than one websites/accounts
- root panel for adding and removing accounts
- admin panel for accounts
- all accounts have their own password
- access for viewing stats for all or on passowrd
- showing stats with or without reloads
- timezone correction
- excluded hosts or (sub)domains
<<less
Download (0.29MB)
Added: 2006-05-08 License: GPL (GNU General Public License) Price:
1264 downloads
File::Stat::ModeString 1.00

File::Stat::ModeString 1.00


File::Stat::ModeString - conversion file stat mode to/from string representation. more>>
File::Stat::ModeString - conversion file stat mode to/from string representation.

SYNOPSIS

use File::Stat::ModeString;

$string = mode_to_string ( $st_mode );
$st_mode = string_to_mode ( $string );
$type = mode_to_typechar( $st_mode );

$record = < IN >; chomp $record;
$record =~ m/^some_prefixs+$MODE_STRING_REs+some_suffix$/o
or die "invalid record format";

die "Invalid mode in $string"
if is_mode_string_valid( $string );

This module provides a few functions for conversion between binary and literal representations of file mode bits, including file type.

All of them use only symbolic constants for mode bits from File::Stat::Bits.

CONSTANTS

$MODE_STRING_RE

Regular expression to match mode string (without ^$).

FUNCTIONS

is_mode_string_valid( $string )

Returns true if argument matches mode string pattern.

$type = mode_to_typechar( $mode )

Returns file type character of binary mode, ? on unknown file type.

$string = mode_to_string( $mode )

Converts binary mode value to string representation. ? in file type field on unknown file type.

$mode = string_to_mode( $string )

Converts string representation of file mode to binary one.

<<less
Download (0.007MB)
Added: 2006-05-30 License: Perl Artistic License Price:
1243 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5