10-07-2015
Command to find file system details on AIX
Hi ,
Could you please tell me how to find the following on AIX?
1.Command to find file system details?
2.What are all the files exist under a specific directory along with their sizes?
In general we use,
du -sh * | grep M under a directory which returns files having size of MB,
du -sh * | grep G under a directory which returns files having size of GB in Linux. But this du -sh command in not working on AIX. Similarily I am looking for similar type of command on AIX.
I hope my request is clear.
Os version -- AIX 3 5
Regards,
Maddy
Last edited by Don Cragun; 10-07-2015 at 10:20 PM..
Reason: Get rid of COLOR tags; add ICODE tags.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey y'all,
I need some help with the nitty gritty of the ls command.
-First off in the man pages in the -l mode the first character can be "door" can anyone tell me what a door is???
-also in the -l mode the first character can be "fifo"or"pipe" can anyone tell me what a this is???
-What... (4 Replies)
Discussion started by: jacob358
4 Replies
2. UNIX for Advanced & Expert Users
System Parameters:
maximum number of processes = 2048
Network parameters:
ipqmaxlen - 512
rfc1323 - 1
sb_max - 1310720 (2*655360)
tcp_recvspace - 65536
tcp_sendspace - 65536
Udp_recvspace - 655360
Udp_sendspace 65536 (1 Reply)
Discussion started by: R00tSc0rpi0n
1 Replies
3. UNIX for Advanced & Expert Users
Hi,
When i run the code in solaris unix machine, the file from remote server is getting downloaded. but when i use the same code in IBM AIX remote machine, it is not running. It is saying "Erro during scp transfer." Below is the code.
Please give some resolution.
SCPClient client = new... (1 Reply)
Discussion started by: gravi2020
1 Replies
4. AIX
Hi,
What is the command to get the disk adapter performance details in AIX?.
Guide me. (2 Replies)
Discussion started by: maruthu
2 Replies
5. UNIX for Dummies Questions & Answers
Hi all ,
could anyone please help with find command in AIX. I am trying to find files but there are more than 30thousand files in there.I realise I need to use xargs somehow but dunno the correct way to pull this.
find /log_directory/* -prune -xdev -type f -mtime +20 | xargs ls -l
the... (2 Replies)
Discussion started by: erinlomo
2 Replies
6. Shell Programming and Scripting
I'm new to this and I have done a lot of research and am 99% done with my ksh script BUT I need help with. The script looks at Journal files and reports back on any that have not been updated for 15 min. Everything works but I wanted more detail (added -ls) and now I'm getting dups.
Original code:... (2 Replies)
Discussion started by: blackopz
2 Replies
7. Shell Programming and Scripting
I need assistance with following requirement, I am new to Unix.
I want to do the following task but stuck with file creation date(sysdate)
Following is the requirement
I need to create a script that will read the abc/xyz/klm folder and look for *.err files for that day’s date and then send an... (4 Replies)
Discussion started by: PreetArul
4 Replies
8. Shell Programming and Scripting
hi,
i have a fixed width file with multiple columns and need to print data using awk command.
i use: awk -F "|" '($5 == BH) {print $1,$2,$3}' <non_AIM target>.txt for a delimiter file.
but now i have a fixed width file like below:
7518 8269511BH 20141224951050N8262
11148 8269511BH... (5 Replies)
Discussion started by: kcdg859
5 Replies
9. AIX
Hi,
Can someone help me out, how I can find the details of the Fonts installed on AIX,
details such as the font type, directory,
Non-Latin Fonts like Greek, Hebrew, or Arabic,
starting with Arabic
Objective: Oracle Reports creates PDF on AIX
we want to use ARABIC Fonts which are... (1 Reply)
Discussion started by: filosophizer
1 Replies
lndir(1X) lndir(1X)
NAME
lndir - create a shadow directory of symbolic links to another directory tree
SYNOPSIS
lndir fromdir [todir]
DESCRIPTION
lndir makes a shadow copy todir of a directory tree fromdir, except that the shadow is not populated with real files but instead with sym-
bolic links pointing at the real files in the fromdir directory tree. This is usually useful for maintaining source code for different
machine architectures. You create a shadow directory containing links to the real source which you will have usually NFS mounted from a
machine of a different architecture, and then recompile it. The object files will be in the shadow directory, while the source files in
the shadow directory are just symlinks to the real files.
This has the advantage that if you update the source, you need not propagate the change to the other architectures by hand, since all
source in shadow directories are symlinks to the real thing: just cd to the shadow directory and recompile.
The todir argument is optional and defaults to the current directory. The fromdir argument may be relative (e.g., ../src) and is relative
to todir (not the current directory).
Note that RCS, SCCS, and CVS.adm directories are not shadowed.
Note also that if you add files, you must run lndir again. Deleting files is difficult because the symlinks will point to places that no
longer exist.
BUGS
The patch routine needs to be able to change the files. You should never run patch from a shadow directory.
Use a command like the following to clear out all files before you can relink (if the fromdir has been moved, for instance):
find todir -type l -print | xargs rm
The following command will find all files that are not directories:
find . ! -type d -print
lndir(1X)