07-11-2012
i gave that a shot and will reboot shortly but we are a heavy mac environment and would need AFP to work before CIFS.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Under this directory:
/var/spool/cron/crontabs/
I have the following users:
adm lp oracle root sys uucp
I believe who are able to start a cron job.
I am trying to create a cronjob under user banjob so that it can delete files older than 30 days.
How can I add user banjob... (4 Replies)
Discussion started by: simt
4 Replies
2. AIX
Trying to setup user to have the ability to delete any files (regardless of owner) in /tmp.
I've tried almost everything... the permission on the folder is drwxrwxrwt 10 bin bin, and at one point I give all the possible permission (short of root) I can give to the user, and he still can't delete... (2 Replies)
Discussion started by: cchiang12
2 Replies
3. UNIX for Dummies Questions & Answers
Hi there,
I want to change from this permission -r-xr-xr-x to -r-xr-xr-- for a set of files under unix.
Can someone help me to go-about doing this in one shot.
Cheers,
RN (2 Replies)
Discussion started by: karthickrn
2 Replies
4. Shell Programming and Scripting
Hi, all!
Is it possible to use umask and to set the file permission level as 775?
I know I can add chmod into my scripts but I just want to explore the umask option.
Thanks! (1 Reply)
Discussion started by: visio2000
1 Replies
5. Shell Programming and Scripting
Here is the sample code I'm trying to execute. I see that the permission on the file is set to 755 always I want to change it to 777. Please help me with this.
code :
#!/usr/bin/perl
use File::Path qw(make_path remove_tree);
my $path = "2010/sam";
make_path($path,{mode=>0777});
... (1 Reply)
Discussion started by: hansini
1 Replies
6. UNIX for Advanced & Expert Users
Default file system currently is 664.
I would like to get it as 774.
As other users of the same group was not able execute the file created any any user.
chmod cannot be used in my case. (Files are created and executed the programs owned by different vendors)
we know that umask is not going... (3 Replies)
Discussion started by: deepakwins
3 Replies
7. Shell Programming and Scripting
hi,
i am new in unix.......i am using bash and i want to create a user which has only some command and scripts permission.........is it possible?
thanx (1 Reply)
Discussion started by: rakeshtomar82
1 Replies
8. Shell Programming and Scripting
Hi Techies
I am stuck in a problem, I have written a script which is calling a second script which contains some command and password for quering on database. I do not want to disclose this command or specially password file. Please help..
Please have a look on directory structure and... (2 Replies)
Discussion started by: atul9806
2 Replies
9. UNIX for Dummies Questions & Answers
When am saving a file using my username in Linux environment, the file permission granted is rw-r--r--
I have to manually change the permissions using chmod command.
How do i write it to the disk as rw-rw-r while saving my file. (6 Replies)
Discussion started by: Avishek_rc1
6 Replies
10. Solaris
Hi,
Any ideas to set multiple ownership permission on a file/directory on Solaris? I need a folder to have multiple ownership on the 2 nodes servers. The 2 nodes servers require to mount a SMBFS with different user ID. Please assist. Thanks. (6 Replies)
Discussion started by: freshmeat
6 Replies
LEARN ABOUT PHP
cifsiostat
CIFSIOSTAT(1) Linux User's Manual CIFSIOSTAT(1)
NAME
cifsiostat - Report CIFS statistics.
SYNOPSIS
cifsiostat [ -h ] [ -k | -m ] [ -t ] [ -V ] [ interval [ count ] ]
DESCRIPTION
The cifsiostat command displays statistics about read and write operations on CIFS filesystems.
The interval parameter specifies the amount of time in seconds between each report. The first report contains statistics for the time since
system startup (boot). Each subsequent report contains statistics collected during the interval since the previous report. A report con-
sists of a CIFS header row followed by a line of statistics for each CIFS filesystem that is mounted. The count parameter can be specified
in conjunction with the interval parameter. If the count parameter is specified, the value of count determines the number of reports gener-
ated at interval seconds apart. If the interval parameter is specified without the count parameter, the cifsiostat command generates
reports continuously.
REPORT
The CIFS report provides statistics for each mounted CIFS filesystem. The report shows the following fields:
Filesystem:
This columns shows the mount point of the CIFS filesystem.
rB/s (rkB/s, rMB/s)
Indicate the average number of bytes (kilobytes, megabytes) read per second.
wB/s (wkB/s, wMB/s)
Indicate the average number of bytes (kilobytes, megabytes) written per second.
rop/s
Indicate the number of 'read' operations that were issued to the filesystem per second.
wop/s
Indicate the number of 'write' operations that were issued to the filesystem per second.
fo/s
Indicate the number of open files per second.
fc/s
Indicate the number of closed files per second.
fd/s
Indicate the number of deleted files per second.
OPTIONS
-h Make the CIFS report easier to read by a human.
-k Display statistics in kilobytes per second.
-m Display statistics in megabytes per second.
-t Print the time for each report displayed. The timestamp format may depend on the value of the S_TIME_FORMAT environment variable
(see below).
-V Print version number then exit.
ENVIRONMENT
The cifsiostat command takes into account the following environment variables:
S_TIME_FORMAT
If this variable exists and its value is ISO then the current locale will be ignored when printing the date in the report header.
The nfsiostat command will use the ISO 8601 format (YYYY-MM-DD) instead. The timestamp displayed with option -t will also be com-
pliant with ISO 8601 format.
BUG
/proc filesystem must be mounted for cifsiostat to work.
FILE
/proc/fs/cifs/Stats contains CIFS statistics.
AUTHORS
Written by Ivana Varekova (varekova <at> redhat.com)
Maintained by Sebastien Godard (sysstat <at> orange.fr)
SEE ALSO
sar(1), pidstat(1), mpstat(1), vmstat(8), iostat(1), nfsiostat(1)
http://pagesperso-orange.fr/sebastien.godard/
Linux JANUARY 2011 CIFSIOSTAT(1)