Search Results

Search: Posts Made By: megh
Forum: Ubuntu 05-21-2016
6,184
Posted By megh
Unable to add space
I have / root directory has file system /dev/sda1 with 19G space
I want to add some more space to /home directory but unable to do it while running below command getting below message

$sudo mkfs...
2,952
Posted By megh
It is giving a syntax error near line 1 ...
It is giving a syntax error near line 1

---------- Post updated at 04:13 AM ---------- Previous update was at 03:49 AM ----------

I tried the below piece of code in ubuntu and it is working...
2,952
Posted By megh
Below is the date format of the timestamp to be...
Below is the date format of the timestamp to be passed as parameter.

4/19/13 02:49:32
2,952
Posted By megh
Need to get all the records from a log file greater than timestamp supplied.
I have a log file which has records with hung thread information/error
I need to find out hung thread from log file greater than timestamp supplied.

[4/19/13 0:49:32:250 EDT] 00000026...
Forum: Solaris 09-04-2012
1,394
Posted By megh
How the free mem thresold on the server is determined
Hi All,
using top command I have the below status


load averages: 3.68, 3.20, 2.67; up 0+07:01:24 13:13:16
282 processes:...
Forum: Solaris 08-23-2012
3,681
Posted By megh
expiry date of an account
can an user see the expiry date of its own account,also can the user know whether it is having peer access or not.

Thanks,
Megh
Forum: Programming 05-11-2011
1,818
Posted By megh
I recompiled the code and it worked.Thanks ..
I recompiled the code and it worked.Thanks ..
Forum: Programming 05-10-2011
1,818
Posted By megh
The program produces a data file with an...
The program produces a data file with an additional newline after each record.This new line causes problem while loading in.
Forum: Programming 05-10-2011
1,818
Posted By megh
Do pro*c program need to recompile
hi,
I have pro*c program running on sunsolaris 5.9.Currently the same program has been migrated to solaris 5.10.But the program is not giving the desired output.Do i need to recomplie the source...
Forum: Solaris 01-14-2011
27,007
Posted By megh
list of files in a txt file from sftp location
I want equivalent of ftp in sftp for listing of files into local machine from sftp location.

ftp>ls -l list.txt

the above creates a file list.txt in the local machine's current directory.
...
Forum: Solaris 09-30-2009
2,163
Posted By megh
expect package is not invoked from cron
Hi,
I am running some etl commands in the windows from shell script(from unix sun solaris 5.9) by using expect package .While running manually the script is working fine.While running from cron...
Forum: Solaris 09-25-2009
6,786
Posted By megh
crontab -l 32 23 * * * touch...
crontab -l
32 23 * * * touch /u/xcs/xcsqc/scripts/testc
41 21 * * * ksh '/u/xcs/xcsqc/scripts/testcron.ksh > /u/xcs/xcsqc/scripts/testc.log'


ls -ltr testcron.ksh
-rwxr-xr-x 1 xcsqc xcs ...
Forum: Solaris 09-25-2009
6,786
Posted By megh
cron jobs not running from sudo
Hi,
I am logging into sun solaris unix box as asood user.Then sudo su_appssu
and scheduled my cron jobs.The user appssu is there In the /etc/cron.d/cron.allow . I do not understand why the jobs...
Forum: Solaris 09-19-2009
5,916
Posted By megh
make an sftp account
Hi All,
My application is connecting to a no of sites to get or put files.
one script is using sftp user1@host1
to log into the account to put some files over there.But some other scripts...
Forum: Solaris 08-17-2009
2,221
Posted By megh
log into windows from unix using ssh
Hi,
I want to log into windows from unix using ssh through a script to execute some commands.We have cygwin installed on windows.We have expect library installed on unix(sun solaris).What would...
Forum: Solaris 05-26-2009
1,809
Posted By megh
Problem in appending the correct log
Hi All,
I have a perl module TrxLog.pm and following are codes in it

#!/usr/local/bin/perl
package TrxLog;
%log_begin="";
%log_end="";
%log_msg="";
%log_start_time="";...
Forum: Solaris 04-28-2009
41,937
Posted By megh
-sh: is not an identifier
Hi ,
I am getting the following message when log into my unix account in sun solaris (version5.9)server.

-sh: ORACLE_HOME=/apps/oracle/product/10.2.0/client_1: is not an identifier

The...
Forum: Solaris 01-30-2009
3,002
Posted By megh
To make ftp an sftp?
Hi All,
I want to make ftp for a particular server(ip ,user/passwd) sftp .

Regards
Megh
Forum: Solaris 12-24-2008
19,273
Posted By megh
perl $ENV
Hi All,
In a perl program the $ENV{} takes a value and returns something.Can one tell me that $ENV{} is an inbuilt perl function or defined some where in my environment.

...
Forum: Solaris 12-22-2008
2,347
Posted By megh
perl datefunction
Hi All,
I am finding it difficult to use the date funtion inside another perl program.

system('perl -e 'print time(localtime() - 86400) . "\n" ' ' )

The above gives yesterday's date...
Forum: Solaris 12-04-2008
2,426
Posted By megh
Not able to insert data
Hi All,
I enhanced a perl script that creates a table with xyz_yyyymm and insert data from xyz table before truncate xyz.I have tested it successfully in dev but when i ran it on production...
Forum: Solaris 11-28-2008
10,675
Posted By megh
nohup in cron erntry
Hi ,
can one makes nohup inside the crontab entry?
Inside a perl script also ?

Regards
Megh
Forum: Solaris 11-15-2008
2,924
Posted By megh
How Prevent from deleting subdirectory files
Hi All,
I am using the foolowing
find /home/vcrd/put -name '*.z' -mtime +5 -exec rm -f {} \;

in a shell script, it is deleting all file having *.z in /home/vcrd/put/appl sub directory....
Forum: Solaris 11-07-2008
8,516
Posted By megh
Check Database availability?
Hi All,
My script gets aborted as it is connecting as a remote database through a DB link on every 3rd sunday.As the remote DB is down for more than 6 hours.

Can TNSPING DBNAME inside my...
Forum: Solaris 11-07-2008
1,574
Posted By megh
For Radoulov
Hi ,
I have got your reply but i have this condition .AS my database is down for more than 6 hours on a particular sunday of the month so i am checking its availability.

for i in 1 2 3 4
do...
Showing results 1 to 25 of 47

 
All times are GMT -4. The time now is 11:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy