Could anyone kindly assist, I would need a unix command to list a count of the number of files in a directory.
ls - <which parameter> ???
Experts,
We have AIX 5.3 running on a standalone box with 4 GB RAM.
From past couple of weeks the physical memory has been shooting high, 100% many times and the system is paging highly.
T...
I want to list the top processes using CPU and memory. The "top" command is not working on my AIX. You know I am not an admin. Thanks.
Jirong
// AIX 5.2
// under smit user,
What is the ramification of changing Soft DATA segment to -1?
i.e.
from
Soft DATA segment [262144]
to
So...
Dear experts,
I would like to know as a regular unix user, how what commands can get the information of AIX 4.x and 5.x system
CPU clock speed (in MHz or GHz),
memory size (in MB or GB...
Hi All,
Below is my script to remove carriage return to convert DOS to unix file format.
*************************************************************************
#!/usr/bin/ksh
if [ $...
Hi,
I am trying to install Samba on my AIX 5.3 box.
Although Samba comes pre-installed on most
of the other OSs this is not the case here
(unable to find smb.conf file)
Can anyone tel...
Hi All,
Our system is AIX 5.1.
1. I wrote a srcipt to tar only FOUR directories:
tar -cvf /dev/rmt0.1 / >> /logs/coldbackup
tar -cvf /dev/rmt0.1 /usr >> /logs/coldbackup
tar -cvf /...
Generally the ulimit settings for memory are set at 32 GB. (ulimit -a or cat /etc/security/limits will show).
If needed can these memory setting for all users be changed to infinity? O...
I've been asked to trace a process that we've been having problems with on our production Unix AIX server. I've never heard of the truss command until a few days ago. How do I trace a process ...
Is it possible to stop and start crontab daemon?
If yes, how do you do that?
thx much
Greetings,
This ia a variation of a question I posted and received one answer to earlier. As I thought about it, I realize I left oout one very important piece of info from my original que...
Hi All,
Iam running a script in AIX which calls ant utility. The script terminates by saying
ant: 0403-006 Execute permission denied
I extract a util directory from an ear file and set t...
Hi,
What does "The module has an invalid magic number" mean?
I get this error when I try to run my binary.
0509-036 Cannot load program testssl because
of the following errors:
...
I am looking for an easy script that I can use to copy all of the files and folders in a directory on one server to a directory on another server. The script will be run on the destination and...
I ran df and have one logical volume getting full.
I have to browse around the "usual suspects" to delete large temp files that may be part of the problem.
Is there a way to use the find c...
I have one for all of you AIX guru's out there -
We have recently taken on a vendor who needs FTP-Put access to a directory on our UNIX server in order to send invoice confirmation files t...
What is the best way to upgrade it to 5.2.8 and donwload/get all of these filesets?
What is the URL that I need to get them if all of them aer downloable from IBM?
# oslevel -rl 5200-08
F...
I've been given the task of creating an FTP script that will copy files (created by our ERP app) from one directory to an archive directory, send them to a remote FTP server and then delete th...
In a RS6000 with AIX, I need to change the default gateway. I used smitty but after changing the value, the old IP comes allways unchanged. What am I doing wrong?
How do I grep first occurence of a string and print the line number
grep 'Not Connected' crdb2.log| head -1
this will print SP2-0640: Not connected but I want it to print the line nu...
snider:stmil1:/cern/d_stp> ls -al
ls: .: The file access permissions do not allow the specified action.
total 0
snider:stmil1:/cern/d_stp> ls -a
ls: .: The file access permissions do not a...
After much testing of an application which was consuming ungodly amounts of memory, we have determined that every time the product uses it's data cache, the cache is left in memory and never c...
Is there a way in AIX to only list the file name?
If I run the command below, only the file name is displayed.
ls -1 /tmp/
If I run the command like this, the path is included in the fi...
I've a IBM eServer pSeries box with AIX 4.3 on it. It has 4 hard disk.
I would like to create logic volume, create filesystem (jfs) on it and mount it automaticall during bootup.
Here ar...