Search Results

Search: Posts Made By: ajayram_arya
Forum: Solaris 09-09-2017
1,623
Posted By Peasant
I would advise againt using init 0 on physical...
I would advise againt using init 0 on physical hardware before your have stopped all your LDOM(s) via ldm stop or init 0 (or 5) inside the LDOM.
This goes against documented practice for Oracle VM...
1,349
Posted By jim mcnamara
I cannot tell you what you need precisely. Your...
I cannot tell you what you need precisely. Your question needs help

Basically -
If you have sudo, set up your account to have ZID access, no password required.
sudo - ZID -c "scp...
2,358
Posted By MadeInGermany
Try set xtics format "%H:%M" scale 2 autofreq...
Try
set xtics format "%H:%M" scale 2 autofreq "00:15" rotate
xtics seems to obsolete the set format x.
1,295
Posted By RudiC
Try sed 's/houston\.sp\.com/alaska.sp.com/' file
Try sed 's/houston\.sp\.com/alaska.sp.com/' file
2,903
Posted By Don Cragun
That isn't the question. What determines the...
That isn't the question. What determines the start date? Are all days data sequential? (Are weekends and holidays included in the data? What do you consider to be a holiday? ...)

If your input...
2,903
Posted By neutronscott
$ awk -F, '{print $1; for (i=2;i+2<=NF;i+=3)...
$ awk -F, '{print $1; for (i=2;i+2<=NF;i+=3) printf("max %d\nmin %d\navg %d\n", $i, $(i+1), $(i+2))}' input
KCAR
max 31
min 62
avg 36
max 69
min 41
avg 75
max 46
min 78
avg 55
max 70
min...
925
Posted By zozoo
is this wat you are try to do for i in...
is this wat you are try to do



for i in *.sh
do
path=`grep $i <pathtofilecontaingthepaths>`
cp $i $path
done
1,065
Posted By vgersh99
while read file do if [ -f "${file}" ];...
while read file
do
if [ -f "${file}" ]; then
echo "${file}"
fi
done < xfile.txt
1,065
Posted By RudiC
How about ls $(awk -F\/ '{print $NF}' xfile.txt)
How about ls $(awk -F\/ '{print $NF}' xfile.txt)
5,540
Posted By gandolf989
As far as I know uuencode , mailx, sendmail and...
As far as I know uuencode , mailx, sendmail and mpack are all capable of sending an email with a single attachment. You should look at the various Perl libraries to see if one works for you. I have...
3,087
Posted By Chubler_XL
This just saves specifying a full path for you...
This just saves specifying a full path for you data files eg:

plot "/home/ajayram/sar_logs/29122014/datafile" using 1:3 title "used" with lines,\
"/home/ajayram/sar_logs/29122014/datafile" using...
Forum: Red Hat 12-16-2014
1,871
Posted By ongoto
+1 So many choices. ...
+1
So many choices.
/public/ftp/pub/linux/system/status (http://www.ibiblio.org/pub/Linux/system/status/!INDEX.html)
Instructions usually come with the software.
Forum: Infrastructure Monitoring 08-22-2014
17,552
Posted By junior-helper
You are trying to process the apache log file,...
You are trying to process the apache log file, right? If yes, then the path to it (/local/tools/awstats-7.3/var/log/access.log) does not seem valid to me.

Possible solution: Edit the...
3,811
Posted By gandolf989
You may want to look through the directory...
You may want to look through the directory structure to see if there are any files with special characters. Also do you have sym linked files or directories?
4,376
Posted By Scott
That's interesting. I'm not sure what I did...
That's interesting. I'm not sure what I did yesterday, but now (on Solaris 11), I do get an error:

scott@sol11:~$ echo $0
-ksh
scott@sol11:~$ tcsh
> echo $0
tcsh
> @ x = 5 + 08
@: Badly...
4,376
Posted By fpmurphy
The problem is that the leading zero causes some...
The problem is that the leading zero causes some versions of tcsh to interpret "08" as octal eight - which is indeed an invalid octal number.

Download and install tcsh-6.18.01. That version has...
2,816
Posted By DGPickett
Doing a source build requires a C or C++...
Doing a source build requires a C or C++ compiler, depending on the Fortran distribution you chooose. Porting g++ requires a C compiler. Most UNIX systems have one.

Some binary distributions...
2,816
Posted By Corona688
Doing so generally requires a compiler...
Doing so generally requires a compiler...
2,816
Posted By DGPickett
As a user not root, I often had to build from...
As a user not root, I often had to build from source, as the packagers did not allow relocation under my home dir or even execution not by root. The script 'configure' has options to suport this.
2,816
Posted By Corona688
Depends on your system. Generally, a package...
Depends on your system. Generally, a package manager like yum or rpm or emerge would be involved.

If you don't have root access for these, I suggest doing so on a different computer where you do.
1,045
Posted By blackrageous
Something like ... ./configure 2>&1 | tee...
Something like ...
./configure 2>&1 | tee output.txt
or you could try seeing if you have session logging. Linux allows you do do the script command and it will create a typescript file. If you're...
1,045
Posted By Akshay Hegde
Try : $ ./configure 2>&1 | tee...
Try :

$ ./configure 2>&1 | tee configure.log
$ make install 2>&1 | tee make_install.log
1,045
Posted By Corona688
There is quite probably a config.log or something...
There is quite probably a config.log or something generated when you run make already.
1,336
Posted By bartus11
It is always a good idea to use "use strict" and...
It is always a good idea to use "use strict" and "my $variable" declarations. Indentation helps too. As for your question, try this:my @yar = qw(2013 2012 2011);
my $curr_year = (localtime)[5]+1900;...
1,101
Posted By Franklin52
Something like this? awk '/\.\.\./ && ++c>2...
Something like this?
awk '/\.\.\./ && ++c>2 {next} 1' file
Showing results 1 to 25 of 45

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