sometimes in Solaris 8 when I go to mount filesystems using either the mount command or by editing the /etc/vfstab, i get a nice little error message saying the the number of allowable mount points has been exceeded. I have read man pages until I am blue in the face and no where can I find what the... (3 Replies)
hi
i tried to tar a directory in my server but it show ensufficient space.
therefore i tried to save it to a mount point using
tar /mountpoint/newfilename file2btar
but it gives me permission denied.
i am using the root account to do this.
is it possible to tar files and put it to mounted... (3 Replies)
How do I make a mount point reconnect at boot without editing /etc/fstab? Is there an option (or switch) to make this persistent when issuing the mount command from a client? (1 Reply)
Hi
Solaris 10
On server A, there is a directory called data with 10 files. This data directory has a further 3 subdirectories, gl, pay, contract (for example)
On server B, I want to see the server A data directory
commands used:
on server A, share -F nfs -o ro -d "<description">... (1 Reply)
When taking a snap, I have a script that stops any active snap. When running the script, I'm getting a message that u02 and u04 are already mounted.
How can I find out what process(es) is/are latching on the these mount points?
Thank you for your time. (1 Reply)
Hi,
I have some issue with the mounting/unmounting on my sun solaris box.
Actually their is one script that mount the file system take the backup of databases and unmount the file system.Last week this script failed to mount the file system with the below error message:
+ echo fs_check.sh:... (1 Reply)
I have a mount point that I would like to have RW on one server and RO on 2 other servers. The issue that I have is that it does not seem to update on the RO servers when I make changes on the server that is RW.
Lets say I have /oracle/clone mounted RW on serverA. I am able to mount /oracle/clone... (2 Replies)
Hi all,
First of all I dont even know the ABC of scripting ..
But now I want a Script to see the mount points of the file systems
Can any body help plsssssssss :o (1 Reply)
Hi folks,
I have been asked to performed the following:
Add the following new moint points systemA:/avp and SystemB:/usr/sap/trans to be the new linux server ZZZ
How can I add those mount points and how those mount points can become another linuz server?:wall::wall::wall: (2 Replies)
Hi,
What are the types of mount points available in Linux machine and how to find
what type of mount point is configured in my linux machine?
Is mount point otherwise called as file system or do they have different meaning ?
Regards,
Maddy (4 Replies)
Discussion started by: Maddy123
4 Replies
LEARN ABOUT DEBIAN
sys::statistics::linux::diskstats
Sys::Statistics::Linux::DiskStats(3pm) User Contributed Perl Documentation Sys::Statistics::Linux::DiskStats(3pm)NAME
Sys::Statistics::Linux::DiskStats - Collect linux disk statistics.
SYNOPSIS
use Sys::Statistics::Linux::DiskStats;
my $lxs = Sys::Statistics::Linux::DiskStats->new;
$lxs->init;
sleep 1;
my $stat = $lxs->get;
Or
my $lxs = Sys::Statistics::Linux::DiskStats->new(initfile => $file);
$lxs->init;
my $stat = $lxs->get;
DESCRIPTION
Sys::Statistics::Linux::DiskStats gathers disk statistics from the virtual /proc filesystem (procfs).
For more information read the documentation of the front-end module Sys::Statistics::Linux.
DISK STATISTICS
Generated by /proc/diskstats or /proc/partitions.
major - The mayor number of the disk
minor - The minor number of the disk
rdreq - Number of read requests that were made to physical disk per second.
rdbyt - Number of bytes that were read from physical disk per second.
wrtreq - Number of write requests that were made to physical disk per second.
wrtbyt - Number of bytes that were written to physical disk per second.
ttreq - Total number of requests were made from/to physical disk per second.
ttbyt - Total number of bytes transmitted from/to physical disk per second.
METHODS
new()
Call "new()" to create a new object.
my $lxs = Sys::Statistics::Linux::DiskStats->new;
Maybe you want to store/load the initial statistics to/from a file:
my $lxs = Sys::Statistics::Linux::DiskStats->new(initfile => '/tmp/diskstats.yml');
If you set "initfile" it's not necessary to call sleep before "get()".
It's also possible to set the path to the proc filesystem.
Sys::Statistics::Linux::DiskStats->new(
files => {
# This is the default
path => '/proc',
diskstats => 'diskstats',
partitions => 'partitions',
}
);
init()
Call "init()" to initialize the statistics.
$lxs->init;
get()
Call "get()" to get the statistics. "get()" returns the statistics as a hash reference.
my $stat = $lxs->get;
raw()
Get raw values.
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::DiskStats(3pm)