Debian :: Display User Quota In Human Readable Format

Mar 10, 2015

I want to display users quota in human readable format, so if the size is over 1 GB I want the quotas displayed in GBs

So when I issue the command below should I not get the results in GB ?

Code: Select allrepquota -sa

bob -- 87200M 400G 440G 879 0 0
dave -- 255G 400G 440G 3627 0 0
jim -- 10664M 400G 440G 230 0 0
tom -- 10737M 400G 440G 636 0 0

User bobs usage is 86GB, should 86GB not be displayed rather than 87200M?

View 1 Replies


ADVERTISEMENT

General :: Get Human Readable Output From Df -k In HP-UX?

Oct 21, 2010

How can get human readable output from df -k in HP-UX?

View 5 Replies View Related

Server :: Get Human Readable Bdf Output In Hpux?

Mar 28, 2011

The following is a script for making the bdf output of HP-UX in a human readable form .

Syntax for running the script is :-

# bdf | bdfrefine.pl

The output will be displayed in KB ,MB,GB or TB as per the disk space . Script details :-

#!/usr/bin/perl
######## SCRIPT FOR USER FRIENDLY bdf OUTPUT ##################
##-----------------------------------------------------------------######################
################# SLURPING INPUT ######################
##-----------------------------------------------------------------######################

[code]....

View 10 Replies View Related

Programming :: Show The Top Processes Eating RAM In Human Readable?

Aug 14, 2010

I want to find out which process is eating RAM, I use this command:

Code:

ps -eo size,pid,user,command | sort -k1 -rn | head -10

but it displays with no human readable:

Code:

283364 4644 quanta /usr/lib/mozilla-firefox/firefox --sm-config-prefix /firefox-C3JYUC/ --sm-client-id 1014cd7d2d4000128169799000000044950019 --screen 0
230372 3635 mysql /usr/sbin/mysqld --defaults-file=/etc/mysql/my.cnf --basedir=/usr --datadir=/var/lib/mysql --pid-file=/var

[code]....

use 'awk' to convert 'size' column to human readable? I also read this thread but I get stuck in printing from $4 to NR.

View 8 Replies View Related

Security :: Ossec HIDS: Alert Timestamp Is Not Human Readable?

May 23, 2010

i have installed Ossec and save it on my sql database but the timestamp of alert is not human readable, how to make it readable ? is there algorithm to make it readable?

View 1 Replies View Related

Programming :: Converting Epoch In A File Name To Human Readable Date/time?

May 5, 2011

I have log files that everyday are downloaded from my webserver in the format: Code: samplesite.com.xxxxxxxxxxx.gz xxxxxxxxxx is a 10 digit epoch time. I am trying to figure out a way in batch to:

1. find all of exisiting files containing the pattern (after the first run it will only be one a day)
2. Isolate the epoch string
3. convert the epoch string to human readable date/time
4. rename the original file as samplesite.com.mmddYYYY.gz

View 2 Replies View Related

OpenSUSE Hardware :: Error "No Human Readable MCE Decoding Support On This CPU Type"

Jun 8, 2011

[156750.000302] [Hardware Error]: No human readable MCE decoding support on this CPU type.
[156750.000327] [Hardware Error]: Run the message through 'mcelog --ascii' to decode.
[156750.000344] [Hardware Error]: Machine check events logged

I have been trying to find mcelog for my architecture (2.6.37.6-0.5-desktop #1 SMP PREEMPT 2011-04-25 21:48:33 +0200 i686 i686 i386 GNU/Linux). I am running openSuse version: openSUSE 11.4 (i586)

[Code]....

View 6 Replies View Related

General :: Top Command Output In "human Readable"?

Jul 1, 2010

The top command by default displays in "k" ...how can I make it display in "M"?

View 2 Replies View Related

Fedora :: Convert Mkv Files To Any Format Readable?

Nov 11, 2010

I am running my fedora box as a media server and my xbox (sorry) doesn't see mkv files and I have been looking for a while for a way to convert the mkv files to any format readable any ideas?

View 3 Replies View Related

General :: Filesystem Space In Readable Format On Hpux?

Jul 23, 2010

I am not sure whether this is something that can be answered here, but I figured this is the best place to start (next to google not giving me the answer I was looking for). One of our clients are running HPUX as filesystem, however when the support guys need to report the filesystem space they keep getting it wrong. Even after someone gave them the full command which will do the calculations for them, they still seem to make mistakes. On linux the df -h works very weel but this is obviously not available here...can use to display the filesystem space in the correct formats? Even if there is a set of commands that we can work into a script and they can then just run the script.

View 1 Replies View Related

OpenSUSE :: 32-bit Apps On 11.3 Don't Display Readable Text For Menu Items

Jul 3, 2011

On My OpenSuse 11.3 box, all my 64-bit apps correctly select Western font for menu items, file selection etc.. But my 32-bit apps like Adobe reader and 32-bit version of Firefox display unreadable text for mouse right click, file save and select etc, as if they are trying to use an invalid font or character encoding.C how I configure 32-bit apps to use Western character set, and to find what it is actually looking for ?

View 9 Replies View Related

General :: Determine How Much Quota Is Assigned To A User?

Nov 13, 2009

We have quota system in home directory and there is binary aquota.user file.

How do i determine how much quota is assigned to a user?

View 1 Replies View Related

General :: Set Unlimited Quota For System User?

Jan 1, 2009

What is the value to set unlimited quota for system user in linux?

View 1 Replies View Related

General :: User Quota On Sendmail Server?

May 25, 2011

I want to define user quota on Redhat linux5.2 sendmail server for all my users.

View 1 Replies View Related

Programming :: PHP - Total Disk Quota For User

Nov 22, 2010

I am writing a php script and I need to find the total diskspace of a directory. I have used space already. I have a couple of different users with quotas
Code:
$path = "/home/" . ($_SERVER['PHP_AUTH_USER']);
$used = exec("du -c -a $path");
echo $used;
Will give me the disk space used. But I need total quota for that user.

View 4 Replies View Related

Red Hat / Fedora :: Assign Disk Space Quota To Particular User?

Dec 24, 2009

i am using linux redHat 5 and fedora9 How can assgin disk space quota to particular user suppose i have 4 users

user1
user2
user3
user4

All four users have a each folder

/data/folder1
/data/folder2
/data/folder3
/data/folder4

i want to assign space limit/restriction of 100MB on each on folder.

View 3 Replies View Related

Red Hat / Fedora :: Defining Quota For A User At Folder Level?

Jan 7, 2011

We are using Red Hat Enterprise AS 3.0. There are 100+ users connected to a single server. As the Inbox size of Mail Client (Thunderbird) for each user grows there are space constraint on the server. So I want to define a quota on mail folder for each user (say around 500 MB to 1 GB). How can I do this.

View 3 Replies View Related

General :: How To Check Quota Of A User In UNIX / Linux?

Aug 1, 2011

How to check quota of a user in UNIX/Linux?

View 2 Replies View Related

Ubuntu Servers :: 9.10 - Setting Samba User Disk Quota

Apr 11, 2010

Is there a way to set a disk quota for samba users? I've found a few guides, but they were a little to complicated for my needs. Running Ubuntu server 9.10

View 3 Replies View Related

CentOS 5 Server :: Default Quota Setting When Create User?

Nov 1, 2010

Running a server using CentOS 5.5 (yum updated, x86_64), found that when using /usr/sbin/useradd to create system user, the quota for the user will default set to 5M soft and 10M hard (on /var/spool/mail partition). As remember the default setting for user quota should be both zero when create a new user.

man useradd and quota related command and no help, had any idea how to change/set the default quota when create user.

View 1 Replies View Related

Debian :: Quota After Kernel Update?

Sep 27, 2010

On one Debian 4.0 x86_64 previously running kernel version 2.6.18-6-amd64 (installed with upt-get upgrade) I updated with the last stable kernel 2.6.35.5

The problem I'm facing regards the quotas. In dmesg I'm getting errors like:

EXT3-fs (sda3): Quota write (off=4080, len=40) cancelled because not block aligned VFS: dquota write failed on dev sda3 The users are shown like overquota and edquota, quota commands are running OK, but when they go overquota I get this errors and quota not functioning. What problem can this be?

View 1 Replies View Related

Fedora Security :: Home_directory Of User "mysql" Is World-readable?

May 1, 2009

I want to find out if I can get someone to help me with this. Sectool-gui says that the home_directory of user "mysql" is world-readable and that it also is world accessible. How do I close that accessibility?

View 6 Replies View Related

Debian :: Set Home Directories Non-readable To Others?

Feb 16, 2011

I'm setting up a Squeeze system with multiple users. I would like to have it the way that no user is allowed to read other user's files. I have searched the net and the forums here and have found quite a lot of stuff but it's all a bit confusing to me.

Some suggest that one should use
dpkg-reconfigure adduser
and select
<no>
But that doesn't do what I'd like to achieve (with a newly created user):
wussy@dorm:/home$ ls -l

[Code]....

View 8 Replies View Related

Fedora Security :: User "jetty" Is World-readable - Screen Started To Flicker Some Time ?

Oct 3, 2010

This morning I ran sectool (in terminal for the first time. Before that I used sectool-gui) and I got this (written to file)...

See attachment please..

I think... the user "Jetty" may be a part of (or has something to do with SQL?).. This machine I have is not a server (in fact I know pretty much nothing about web servers).. this machine is used purely for local app development (python PyQt4/ and C++/wx - making games, general utilities, specialized calculators...etc)

So... Can anyone please tell me who the user "Jetty" is ? (The others are safe, I compiled python/SIP/PyQt4/wx/aliens from source... so that;s probably why it doesn't belong to packages.

Plus, My screen started to flicker some time (could it be possible someone is messing w/ my xorg configs?)

View 1 Replies View Related

Debian Configuration :: Setup Default Quota For All Users

Jun 6, 2011

I need to set up quotas so each user has a limit of 20GB (soft could be 15GB) on their homes.Is there a way to set up a default quota for all the users, or do i have to do this for the 345982374058 users in my system manually?would group quotas help? (i dont understand much of these type of quota)

View 2 Replies View Related

Ubuntu :: DVD Not Readable With 10.04 Was Readable With 9.04

Aug 6, 2010

I have a DVD which I can open and play on a machine running 9.04 but I can't get to open and play it on a machine running 10.04.How can I diagnose and prefereably fix the problem?

View 9 Replies View Related

Fedora :: How To Change Time Display Format

May 15, 2010

How do I switch from 24hr format to 12hr format clock in Fedora 12 + KDE?

View 5 Replies View Related

General :: Display Utf8 Format In Text Area?

Aug 10, 2009

I have a form that have a browse button, convert to ASCII button, cancel button and text area... all i have to do is...? when i click the browse button and choose a folder that have a utf8.txt the file that have utf8 will appear or display into the text area... what i can i do to make this..?

View 6 Replies View Related

Software :: Finding A Php Script To Format And Display A Select Amount Of Text From A File?

Jan 23, 2009

i need a php script to format and display a select amount of text from a file or a cron job that'll do it (with grep etc) and out put to a file but whatever is easier i want to display all the banned ip's i have in my .htaccess file i have a lot of lines in my .htaccess file but i have a line that read like this:

Code:

RewriteCond %{REMOTE_ADDR} (123.123.123.123|123.123.123.123|123.123.123.123)$

the 3 test ip's are 123.123.123.123 and i want the "" stripping and the "|" removing and each ip to be on it's own line like this:

123.123.123.123
123.123.123.123
123.123.123.123

i'm not bothered if this is a php script that'll read the .htaccess file and display the output or a cron job that'll run every x mins and output it to a .txt file but i'd prefer a php script

View 14 Replies View Related

General :: What Format Should Rip A CD Track In For A Windows User

Apr 4, 2010

I wanted to show a track from a CD to a friend who uses Windows. I tried to rip it in MP3 (LAME) format, because I couldn't remember whether Windows Media Player can read OGG or FLAC (whatever that is) format. Due to some kind of error (no explanation given other than "command failed"), my K3B would not rip in MP3. Which of the formats can Windows Media Player read? I know it can read WAV, but that's inconveniently large to send by e-mail or over an instant messenger.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved