Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: Smiling Dragon
6,833
Posted By drl
Hi. A utility, dadd, in package dateutils...
Hi.

A utility, dadd, in package dateutils can do the arithmetic and reformatting. It seems to be in many repositories ( e.g. arch, FreeBSD, Slackware, Mac OS X "brew" etc.), and source is...
3,915
Posted By Don Cragun
We need to know more about what is writing data...
We need to know more about what is writing data to your log file and how it is writing data to your log file. If the log file is being held open constantly by the writer, then catting /dev/null to...
6,833
Posted By cfajohnson
That will only work with the GNU date command; -d...
That will only work with the GNU date command; -d is not standard.



I doubt that OP is using a system without a POSIX shell, so there's no need for cut:

IFS=/ read month day year whatever...
1,474
Posted By Don Cragun
I look forward to you becoming more active again....
I look forward to you becoming more active again. You have been missed.

Once you get some bits again, if you go to your banking page you'll see something like:

You made two posts about an hour...
Forum: Solaris 10-17-2014
918
Posted By jlliagre
Beware though that the linked document explains...
Beware though that the linked document explains how the load average is computed on the Linux kernel but the way it is done under Solaris is significantly different.

Linux is basing its load...
Forum: AIX 04-28-2014
2,500
Posted By rbatte1
You might well find that the port speed is 19200....
You might well find that the port speed is 19200. IBM changed this at Power5 I think.
Forum: War Stories 05-06-2012
10,205
Posted By Neo
Confessions of a Mortal Diver - Learning the Hard Way by Richard Pyle
We archive this amazing and true story by Richard Pyle (http://www.ted.com/speakers/richard_pyle.html) illustrating how not to scuba dive.



A portion of this article was published in...
Forum: War Stories 10-23-2013
10,846
Posted By Corona688
The 500 Mile Email
Not my story, but interesting enough to be worth posting here IMHO. (Original is here (http://www.ibiblio.org/harris/500milemail.html))

The following is the 500-mile email story in the form it...
29,970
Posted By ripat
Convert ip ranges to CIDR netblocks
Hi,

Recently I had to convert a 280K lines of ip ranges to the CIDR notation and generate a file to be used by ipset (netfilter) for ip filtering.

Input file:
000.000.000.000 -...
Forum: Solaris 01-06-2014
4,111
Posted By PDP11-44WKU
prtdiag prints multiple lines per device. You...
prtdiag prints multiple lines per device. You need to look at the second line under NET2 and NET3. That will have the path.

---------- Post updated at 07:56 PM ---------- Previous update was at...
6,716
Posted By MadeInGermany
[Tip] How to add individual delays to a cron job?
ofIn a big Unix environment you likely install cron jobs like this on a thousand systems:
39 15 * * * { /usr/local/monitoring/sendstats ; } >/dev/null 2>&1If all the system clocks are synchronized...
1,243
Posted By RudiC
Try ls | sort -k1.7n
Try ls | sort -k1.7n
901
Posted By Scrutinizer
Hi Jotne, it is reading a line from file1 and if...
Hi Jotne, it is reading a line from file1 and if it can also read a line from file2 and put it in a new $2, then the line gets printed, with $1 containing the line from file1 and $2 the line from...
6,207
Posted By fpmurphy
Suggest you try rebooting and adding the...
Suggest you try rebooting and adding the following to the kernel command line via GRUB while booting:

fsck.mode=force
1,364
Posted By dannyvdberg
Script for removing Postgres
I made a script to remove Postgres if this is already installed on your system. I have a other script to install Postgres, so this script can be used before you going to install Postgres.

Do you...
868
Posted By Chubler_XL
You might want to give ntop a go it's a bit like...
You might want to give ntop a go it's a bit like the top command but for the network, with graphs/history and more:

ntop (http://www.ntop.org/products/ntop/)
2,231
Posted By RudiC
I was quite lucky recently using the readpst...
I was quite lucky recently using the readpst program.
2,147
Posted By wisecracker
Pseudo-3D effect in text mode...
This is a DEMO only...

Someone recently asked about creating a box to make something look nicer on screen.
I suggested that with careful colouring a 3D effect could be created...

Linux...
Forum: Red Hat 01-06-2009
73,127
Posted By bdsffl
for all those interested the equivalents are: ...
for all those interested the equivalents are:

ptree -> pstree
pfiles -> lsof -a -p <pid>
pstack -> pstack
truss -> strace

both pstack and strace are packages and need to be installed by rpm...
Forum: Solaris 03-02-2013
2,170
Posted By frank_rizzo
check the docs on lom. the hostname cannot be set...
check the docs on lom. the hostname cannot be set by the set command.

There are some variables that you can use as arguments to the set command in the
LOMlite2 shell. The set command duplicates...
2,043
Posted By hergp
The percent sign is interpreted as end of line in...
The percent sign is interpreted as end of line in a crontab. Some implementations of cron allow to escape the percent sign with a backslash. If this doesn't work, then write a small shell script with...
1,250
Posted By binlib
A small nitpick, there is a small difference in...
A small nitpick, there is a small difference in performance between
for ...;do cmd >> file;done
and
for ...;do cmd; done > file
The latter only opens the output file once.
With GNU sed, you can...
Forum: Solaris 04-16-2012
3,476
Posted By radoulov
I'm not a Solaris networking expert by any means,...
I'm not a Solaris networking expert by any means, but I believe that the route command gives
you the interface that should be used:

route get <destination>I don't know if there are exceptions or...
Showing results 1 to 23 of 23

 

Featured Tech Videos

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