09-27-2007
Quote:
[root@t1000-1 /]# du -sh /opt/
6.5G /opt
Use the man pages for "du" depending on your version if the command above doesn't satisfy the requirement.
Edit : I'm sorry, the above posted snippet is from Solaris T1000. For AIX : du -sk
Last edited by sysgate; 09-27-2007 at 11:37 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there a way to limit a certain folder size(e.g. Documents, Desktop)?
:) (2 Replies)
Discussion started by: tisdmin
2 Replies
2. AIX
Hi,
please know the command should return the each folder size on disc.
I need only folder size not any file size.
which option of "du" would help me?
Shital (1 Reply)
Discussion started by: sdurukkar
1 Replies
3. Solaris
Hello,
I'm still learning unix and I have what is probably a simple question but I can't seem to find the question to. I have an Ultra 10 Sparc Server running solaris 8 and the drive may have crashed (I hope not). Currently, it appears some files in the /etc folder are missing. I have a backup... (1 Reply)
Discussion started by: ideffects
1 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
Can anyone please let me know the syntax / how to pick up the Return Code ( RC) from the mailx command and return it to SAS uisng 'system()' function and '${?}'.
I am in a process to send the mail automatically with an attachment to bulk users. I have used 'Mailx' and 'Unencode'... (0 Replies)
Discussion started by: manas6
0 Replies
5. Shell Programming and Scripting
Hi Everyone,
I am facing a problem regarding the select from sybase, the return with the incorrect size.
For example, field is NAME(20).
After i selected from sybase, the result is nicky.
after i assign it to another declaration variable, it will be in actual name "nicky" , what i need... (10 Replies)
Discussion started by: ryanW
10 Replies
6. AIX
How to find the status of SAN Disc through command prompt (1 Reply)
Discussion started by: AIXlearner
1 Replies
7. UNIX for Dummies Questions & Answers
hi,
is possible to calculate the size of a folder using ls ?
ls -s works only for files..
thanks (2 Replies)
Discussion started by: aneuryzma
2 Replies
8. UNIX for Dummies Questions & Answers
I am trying to get the total size of the folder using the below command
but its not working. any ideas?
du -bc <foldername>/|grep total|tr -s " "|cut -d" " -f1
the output i am getting is
78996 total
but i just want it to be as
78996
please help (3 Replies)
Discussion started by: classic
3 Replies
9. Solaris
Hi Forum,
I need to know the size of some user home folders.
I've exported an account list from an Active Directory and wrote it into a file like:
user_1
user_2
user...
user_n
and tried "du -sh < filename", which doesn't work. Get no results.
I don't need the size of all home... (3 Replies)
Discussion started by: borsti007
3 Replies
10. Shell Programming and Scripting
Hi ,
I am trying to get the folder details having size more than sme specified value and also the name of the folder should be like TEST.
so
1. In the current directory search for all the folders having name like TEST
2. Print the list of the folder names having size more than 100... (3 Replies)
Discussion started by: Anupam_Halder
3 Replies
LEARN ABOUT DEBIAN
lua-oocairo-fontopt
doc::lua-oocairo-fontopt(3) Lua OO Cairo binding doc::lua-oocairo-fontopt(3)
Name
lua-oocairo-fontopt - options controlling text rendering
Introduction
A font options object contains options that tell Cairo how to render text on surfaces. They can be created with the "font_options_create"
function in the main oocairo module (see lua-oocairo(3)), and retrieved from scaled fonts or context objects with "get_font_options"
methods.
Font options objects can be compared with the "==" operator. Two different objects with the same options set will be considered equal.
Methods
The following methods are available on font options objects:
opt:copy ()
Returns a new font options object, with identical options to opt. The two objects will be completely independent, so you can set them
to have different options.
opt:get_antialias ()
Get the current antialiasing mode, which will be one of the strings accepted by the "opt:set_antialias()" method.
opt:get_hint_metrics ()
Returns the current hint metrics option, which will be one of the same strings accepted by the "opt:set_hint_metrics()" method.
opt:get_hint_style ()
Get the kind of font hinting done when rendering text. Returns one of the strings accepted by the "opt:set_hint_style()" method.
opt:get_subpixel_order ()
Returns the current ordering of colour components in pixels used for subpixel rendering, which will be one of the same strings accepted
by the "opt:set_subpixel_order()" method.
opt:hash ()
Return a number which can be used as a hash key identifying the particular options in opt. That is, if you wanted to cache fonts
according to the options set on them, you could store them in a table with this hash value as the key. Two font options objects with
the same options will have the same hash value.
opt:merge (srcopt)
Add any options which are set to a non-default value in srcopt to opt if that still has the default value from them. The options in
srcopt will be unchanged. Nothing is returned.
opt:set_antialias (antialiastype)
Set the antialiasing mode used for drawing. The argument must be a string or boolean value accepted by the "set_antialias" method on
context objects (see lua-oocairo-context(3)).
opt:set_hint_metrics (hintmetrics)
Set the kind of hinting to be applied to the metrics, as opposed to outlines, of the glyphs in a font. The hintmetrics value must be
one of the following strings:
default
off
on
opt:set_hint_style (hintstyle)
Set the kind of font hinting done when rendering text. The hintstyle value must be one of the following strings:
default
none
slight
medium
full
opt:set_subpixel_order (order)
Used to inform Cairo of the arrangement of colour components in the pixels of a display device like a monitor. Only applies if
subpixel antialiasing is used. The order value must be one of the following strings:
default
rgb
bgr
vrgb
vbgr
The last two options refer to vertical arrangements of colours.
1.4 2011-05-18 doc::lua-oocairo-fontopt(3)