Search found 104 matches

by telenor
Tue Dec 13, 2011 4:24 pm
Forum: Administration
Topic: cp & chown issue.
Replies: 7
Views: 12996

Re: cp & chown issue.

Again i faced the same problem but now in archiving:

tar -cvf images-13122011.tar /opt/appserver02/public/images

Error is:
Argument list is too long
by telenor
Mon Oct 31, 2011 10:33 am
Forum: Administration
Topic: cp & chown issue.
Replies: 7
Views: 12996

Re: cp & chown issue.

AOA,

If possible to write script for me, also combination of xargs (dont rsync) required.
by telenor
Thu Oct 27, 2011 1:32 pm
Forum: Administration
Topic: cp & chown issue.
Replies: 7
Views: 12996

Re: cp & chown issue.

AOA,

I dont want to use RSYNC, i need a script or something like commands just using xargs,find
by telenor
Sun Oct 09, 2011 6:23 pm
Forum: Administration
Topic: cp & chown issue.
Replies: 7
Views: 12996

cp & chown issue.

AOA, I want to copy large amount of files aproximately more than 20,000 files from one dirctory to another, but it gives me error like: #cd /opt/appserver/images #cp * /opt/appserver02/public/images Argument list is too long Also abobe mention error appear again when i run: #cd /opt/appserver/images...
by telenor
Mon Oct 03, 2011 4:53 pm
Forum: Administration
Topic: NFS Share Issue
Replies: 2
Views: 7266

NFS Share Issue

AOA, i make a NFS share on my NAS server, its address is 192.168.1.15:/docs I am using SUSE Linux 11 - 64Bit, i mount NFS Share on linux machine by using CIFS like vi /etc/fstab //NAS/docs /docs cifs username=docs,password=go12 0 0 But if i copied something on /docs shares, it became like this: -rwx...
by telenor
Thu Aug 26, 2010 11:27 am
Forum: Administration
Topic: Error in Backup Script
Replies: 2
Views: 3751

Error in Backup Script

I made a following script for Data Backup on Tape Device, but script is not working fine. Please review the script ################################# DAT=`date +%d_%m_%Y` BDIR="/home/userid/$DAT" TD="/dev/st0" LOGS="/scripts/$DAT" clear echo | tee $LOGS if mt -f $TD stat...
by telenor
Fri Jun 18, 2010 2:50 pm
Forum: Administration
Topic: Require Squid ACL's
Replies: 1
Views: 3014

Require Squid ACL's

AOA,


I need following ACL's for Squid


Block Browsing from 9AM-5PM on specfic IP
192.168.1.10 192.168.1.11 192.168.1.12 192.168.1.13

Block Downloading from 9AM-5PM on whole network except 192.168.1.2 192.168.1.5
by telenor
Fri Mar 26, 2010 12:36 pm
Forum: Administration
Topic: Script abt Filesystem alert
Replies: 5
Views: 5686

Dear Azfar,

Thanks for the Help.


If i run this script with crontab and file system is also exceed then this script raise an email alert every 5 minute.


Plz add something that raise an alert only 1 time not an every 5 minute.
by telenor
Wed Mar 24, 2010 1:31 pm
Forum: Administration
Topic: Script abt Filesystem alert
Replies: 5
Views: 5686

AOA Azfar, Here is my File System: Filesystem Size Used Avail Use% Mounted on /dev/sda1 20G 8.3G 11G 45% / /dev/sda3 40G 33G 5.2G 87% /d01 none 3.9G 0 3.9G 0% /dev/shm /dev/sdb 148G 113G 28G 81% /san /dev/sdc 50G 9.0G 38G 20% /san01 /dev/sdd 403G 303G 79G 80% /san00 If any of the above filesystem ex...
by telenor
Wed Mar 17, 2010 5:13 pm
Forum: Administration
Topic: Memory Calculation
Replies: 1
Views: 3066

Memory Calculation

I want an script that calculate total memory consume by all Oracle Process PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 6689 oraprod 16 0 1163m 155m 150m S 0 2.0 0:01.95 oracle 7046 oraprod 16 0 1161m 18m 14m S 0 0.2 0:00.02 oracle 7392 oraprod 16 0 1165m 39m 33m S 0 0.5 0:00.07 oracle 7394...
by telenor
Fri Mar 12, 2010 3:35 pm
Forum: Administration
Topic: Script abt Filesystem alert
Replies: 5
Views: 5686

Script abt Filesystem alert

AOA, I made a following script that check filesystem, if any filesystem exceed to 90% then riase an alert only 1 time, but following script generate an alert every 5 minutes according to cronjob. so i need a correction on the script. ************************************************ ALERT="90&qu...
by telenor
Fri Mar 12, 2010 3:30 pm
Forum: Administration
Topic: Script help abt firewall alert
Replies: 1
Views: 3215

Script help abt firewall alert

I made a following script that check every 5 minutes to check firewall is up or not, if firewall down that raise an alert only 1 time, but following script generate an alert every 5 minutes according to cronjob: **************************************************** FILE="/var/log/fwstatus" ...
by telenor
Wed Sep 16, 2009 10:53 am
Forum: Administration
Topic: System Image!
Replies: 1
Views: 3228

System Image!

AOA,

I want to take complete system backup. Just like MKSYSB in AIX.
Is there any utility
by telenor
Mon Jul 27, 2009 1:51 pm
Forum: Administration
Topic: SAN disk issue!
Replies: 2
Views: 4367

SAN disk issue!

AOA, I have following 2 FC cards on my linux box 08:01.0 Fibre Channel: QLogic Corp. ISP2422-based 4Gb Fibre Channel to PCI-X HBA (rev 02) 08:01.1 Fibre Channel: QLogic Corp. ISP2422-based 4Gb Fibre Channel to PCI-X HBA (rev 02) And following 3 three disks that are attached with SAN box. /dev/sdb 14...
by telenor
Thu Jun 18, 2009 3:51 pm
Forum: Administration
Topic: monitor services
Replies: 11
Views: 12722

monitor services

I want a script that monitor a following services:

* DNS - Port 53
* SMTP - Port 25
* FTP - Port 21
* HTTP - Port 80