Sponsored Content
Operating Systems Solaris command to find out total size of a specific file size (spread over the server) Post 302130831 by zazzybob on Wednesday 8th of August 2007 03:11:28 AM
Old 08-08-2007
Something like this?
Code:
# du -ks /usr/local/jboss4/bin /usr/local/jboss4/server /var/log/jboss | awk '{c+=$1} END {printf "%s KB\n", c}'
1646356 KB

Cheers
ZB
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

How to find the total size of a dirctory tree in Solaris

Hi, I want to find the total size of some directory trees in my solaris 9 machine. Is there a command or utility I can use to do it. Please let me know if there is any way. Thanks Akheel (1 Reply)
Discussion started by: 0ktalmagik
1 Replies

2. Shell Programming and Scripting

Find the size of a single specific file

As I'm a newbie to UNIX, very newbie in fact, could anyone humour me and tell me how I'd find just the file size in bytes for a specific file? Or at least just the specific line from the ls -a for the file - call it file1 I know this sounds bad but I don't seem to be getting very far at this... (3 Replies)
Discussion started by: nortypig
3 Replies

3. UNIX for Dummies Questions & Answers

Find total size for some files?

Hi, I'm newbie to Unix. I'd like to count the total size of those files in my directory by date. For example, files on this period 05/01/08 - 05/31/08. If possible can we count by byte instead of kb. if I use $ du - ks , it will add up all files in the dir. thanks, Helen (5 Replies)
Discussion started by: helen008
5 Replies

4. Solaris

Solaris 10 - How to find the total size of my hard disk?

Friends, I have an 80 GB HDD, but I wish to know if there is a direct command in Solaris 10 to find out the size of my hard disk (similar to fdisk -l in Linux). Thank you saagar (3 Replies)
Discussion started by: saagar
3 Replies

5. Shell Programming and Scripting

find with file size and show the size

Hi All... is the below command be modified in sucha way that i can get the file size along with the name and path of the file the below command only gives me the file location which are more than 100000k...but I want the exact size of the file also.. find / -name "*.*" -size +100000k ... (3 Replies)
Discussion started by: rpraharaj84
3 Replies

6. Red Hat

Command to find the local harddisks of a server ? Including their size

Hi guys How do I find the harddisks in a server ? Rgds Nishant (4 Replies)
Discussion started by: thevishy
4 Replies

7. Shell Programming and Scripting

Find the total size of all directories that are owned by a particular User

Hi All, I am writing a script in which i need find the total size of all the directories that are present in a directory which are owned by a particular user. I will explain in details i have a dir DIR1 in which i have 5 dir's DIRA DIRB DIRC DIRD DIRE. DIRA DIRC DIRE are owned by "eswar" i... (2 Replies)
Discussion started by: firestar
2 Replies

8. Shell Programming and Scripting

Find a particular directory in multiple file systems and calculate total size

Hello : I need some help in writing a ksh script which will find a particular directory in all the file systems in a server and finally report the total size of the direcotry in all the file systems. Some thing like this.. find /u*/app/oracle -type d -name "product" -prune and then... (1 Reply)
Discussion started by: Sam1974
1 Replies

9. Solaris

Need command to know the total size

:mad:i need command to know the total size of project in my system by Giga bit i try #du -s /*/projectname but i need total size for this project by G.B can you help me (6 Replies)
Discussion started by: ayman
6 Replies

10. Solaris

Find the total size of multiple files

If I have a number of files in a directory, for example, test.1 test.2 test.3 abc.1 abc.2 abc.3 and I need to find the total file size of all of the test.* files, I can use du -bc test.* in Linux. However, in Solaris, du does not have the -c option. What can I do in Solaris to get... (11 Replies)
Discussion started by: learnix
11 Replies
Xserver(1)						      General Commands Manual							Xserver(1)

NAME
X - X Window System display server dispatcher SYNOPSIS
X [ option ...] DESCRIPTION
: Hewlett-Packard supports two X servers on HP-UX platforms, the Xhp X server which supports HP VISUALIZE graphics devices and the Xf86 X server which supports all other graphics devices. These X servers are delivered as /usr/bin/X11/Xhp and /usr/bin/X11/Xf86. The X dispatcher determines which X server to launch based on the available graphics devices. The control file /etc/X11/Xstart can provide additional guidance to the X dispatcher. The control file allows the user to specify which X server to start for given display connection numbers. The only X servers supported by the X dispatcher are Xhp, Xf86 and Xvfb. If no Xstart file exists, the dispatcher loads the appropriate X server for the graphics device in the system. HP-UX does not deliver the /etc/X11/Xstart file. This file can be created by using the SAM/SMH utility. OPTIONS
If the X dispatcher is invoked with no arguments, the display connection is assumed to be :0. The X dispatcher checks for display connec- tion options and, if found, uses that display connection number when it checks the Xstart file. All other options are passed on to the X server when it is started and it is the X server's responsibility to validate these options. Not all options may be supported on both X servers; refer to Xhp(1) and Xf86(1) to verify supported options for each X server. RETURN VALUE
None Xstart EXAMPLES The control file syntax is the X server to start followed by the display connection number. Valid entries take the form of: Xhp :0 Start the Xhp X server on display connection 0 Xf86 :10 Start the Xf86 X server on display 10 /usr/bin/X11/Xhp :5 Start the Xhp X server on display connection 5 /usr/bin/X11/Xvfb :7 Start the X Virtual Framebuffer server on display connection 7 FILES
/etc/X11/Xstart Dispatcher control file. /var/X11/Xserver/logs/Xstartup.N.log X dispatcher log file for display N. SEE ALSO
X(1), Xhp(1), Xf86(1) STANDARDS CONFORMANCE
See the appropriate section in Xhp(1) or Xf86(1). Xserver(1)
All times are GMT -4. The time now is 01:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy