03-23-2008
This is the script and crontab entry
#!/bin/ksh
echo "Mountpoint Utilisation " > file1
echo "################################" >> file1
df -h >> file1
echo " " >> file1
echo " " >> file1
echo "Total No of Processes" >> file1
echo "#################################">> file1
ps -ef |wc -l >> file1
cat file1 | mailx -s "Total Processes and Mountpoint Utilisation in `hostname`"
mail_sysadmin@mycompany.com </dev/null
exit
-----------------
-----------------------------------
Crontab entry is ...
48 15 * * * sh /users/d12381/check.sh > /users/d12381/check.log 2>&1
10 More Discussions You Might Find Interesting
1. Solaris
Hi
I'm having a big trouble running a configuration tool (ftamtool) which uses xview on sunos 5.8, it refuses to start and says: XView error: could not load font 'FONT_FAMILY_SANS_SERIF...
How to force the program to use installed fonts and where are fonts installed available to use ?
... (0 Replies)
Discussion started by: andryk
0 Replies
2. UNIX for Dummies Questions & Answers
If I use the "Mail" link instead of the "mail" link to ../mailx I get this error.
Mail so-n-so @whatever.com
mailx: NUL changed to @
Unknown command: "postmaster"
The email still goes through but i get the error.
If I use "mail" it goes thru without the error.
Any ideas?? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
3. Solaris
Hi,
When i am trying to untar a file for installation its showing an error like
tar -xvf te_agent__sparc.en_tar.gz
tar: directory checksum error
Please help me to solve this issue........... (10 Replies)
Discussion started by: Renjesh
10 Replies
4. HP-UX
Hi,
I would like to ask for your help. I tried to log in through console to my server HP-UX 10.20 but I keep receiving error message as below:
Vxfs: mesg 001: vx_nospace -/dev/vg02/lvol6 file system full
Vxfs: mesg 001: vx_nospace - /dev/vg02/lvol9 file system full
How should I stop this... (4 Replies)
Discussion started by: yeazas
4 Replies
5. Solaris
Hi all,
I am trying to use the disk for mirror where in the mirror disk is of 160 gb and the rootdisk is of 80 gb. when i am trying to write the vtoc i am getting below error
i tried the below command
#prtvtoc /dev/rdsk/c0t0d0s0 |fmthard -s -/dev/rdsk/c0t2d0s0
and got below
... (26 Replies)
Discussion started by: kumarmani
26 Replies
6. Solaris
ultra 10 showing date error. it showing date --:--:1967 frequently.sometimes it shows correct date. (3 Replies)
Discussion started by: yesquery
3 Replies
7. Solaris
I've got an old E250 server where a front error LED is showing. I've read through the Sun docs (Sun Enterprise 250 Server Owner's Guide - Sun Microsystems) but it's only the 'General fault' LED (About the Status and Control Panel (Sun Enterprise 250 Server Owner's Guide) - Sun Microsystems)... (2 Replies)
Discussion started by: aussieos
2 Replies
8. Shell Programming and Scripting
Hi,
I have an command which find the files modified within last 8 days and then after selecting the files from the location it make the tar format and send it to the specified destination ...now I want that this task to be automative ..that is it should happen after every 5 minutes ...for that... (3 Replies)
Discussion started by: NARESH SAXENA
3 Replies
9. Shell Programming and Scripting
The big problem is that exp_internal isnt working... which makes it difficult to determine whats happening with the if statement.
1. why isnt exp_internal not working ?
2. Is there a better way to do the check of a file ?
Im trying to find a "tighter" way to check that a file exists and has... (0 Replies)
Discussion started by: popeye
0 Replies
10. Shell Programming and Scripting
if ; then
rm -rf "${x}"_"${y}"_abc_pqr.dat error: `then' unmatchedCan anyone please help me in correcting it.
Please use code tags next time for your code and data. Thanks (2 Replies)
Discussion started by: D_Sethi
2 Replies
LEARN ABOUT OPENSOLARIS
install-solaris
install-solaris(1M) install-solaris(1M)
NAME
install-solaris - install the Solaris operating system
SYNOPSIS
install-solaris
install-solaris invokes the Solaris Install program. Depending on graphical capability and available memory at the time of invocation,
install-solaris invokes either a text-based installer or a graphical installer.
The following minimum requirements for physical memory dictate which features are available during installation:
For SPARC machines:
128 MB
Minimum physical memory for all installation types
128 MB
Minimum physical memory required for windowing system
384 MB
Minimum physical memory required for graphical-based installation
For x86 machines:
256 MB
Minimum physical memory for all installation types
256 MB
Minimum physical memory required for windowing system
512 MB
Minimum physical memory required for graphical-based installation
In some cases, even if the minimum physical memory is present, available virtual memory after system startup can limit the number of fea-
tures available.
install-solaris exists only on the Solaris installation media (CD or DVD) and should be invoked only from there. Refer to the for more
details.
install-solaris allows installation of the operating system onto any standalone system. install-solaris loads the software available on the
installation media. Refer to the for disk space requirements.
Refer to the for more information on the various menus and selections.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcdrom (Solaris instal- |
| |lation media) |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
pkginfo(1), install(1M), pkgadd(1M), attributes(5)
It is advisable to exit install-solaris by means of the exit options in the install-solaris menus.
23 Sep 2005 install-solaris(1M)