Unix/Linux Go Back    

Showing results 1 to 25 of 48
Search took 0.03 seconds.
Search: Posts Made By: otheus
Forum: Emergency UNIX and Linux Support Linux 09-29-2016
Replies: 5
Views: 1,989
Posted By otheus
So, just upgrade to latest coreutils version. ...

So, just upgrade to latest coreutils version.

What -n r/K/N does is print every K/Nth line. If K = 1 and N =2, you the first line, then every 2nd line after to the end of the stream. With K = 1...
Forum: Emergency UNIX and Linux Support Linux 12-03-2014
Replies: 4
Views: 6,237
Posted By otheus
This question is too vague (I don't think Jim...

This question is too vague (I don't think Jim interpreted it correctly). Perhaps you mean "which users are allowed to execute what commands" in a sudoers file? If that is indeed the question, the...
Forum: Emergency UNIX and Linux Support Linux 05-27-2014
Replies: 9
Views: 14,274
Posted By otheus
You're confounding NIS with NFS. The former...

You're confounding NIS with NFS. The former allows hosts to share information services such as the user database and hostnames. The latter allows home directories to be shared (for instance).

The...
Forum: Emergency UNIX and Linux Support Linux 12-30-2013
Replies: 3
Views: 11,148
Posted By otheus
The two most common problems in this situation...

The two most common problems in this situation are:
1. Dependency on an unreachable network resource, ie, NFS, NIS, LDAP
2. Bad disk

Per the previous post, boot into "single user mode". This...
Forum: UNIX for Advanced & Expert Users Linux 11-12-2013
Replies: 7
Views: 53,092
Posted By otheus
RedHat I recently ran into this problem. The solution...

I recently ran into this problem. The solution offered here (and elswhere on the Internet) insufficiently failed to answer it. I had to dig deep to find it.

Depending on the precise server...
Forum: Emergency UNIX and Linux Support Linux 11-14-2012
Replies: 8
Views: 7,681
Posted By otheus
Might be simpler to let awk do the calculation,...

Might be simpler to let awk do the calculation, and let the script's input parameters be used in the normal sense.
This code looks longer, because I added lots of checking, but the functional part...
Forum: Emergency UNIX and Linux Support Linux 07-21-2012
Replies: 8
Views: 7,017
Posted By otheus
gull04 and jlliagre are most probably correct. If...

gull04 and jlliagre are most probably correct. If you need a place to store stuff, here's what you can do in the mean-time:

Check the diskspace of /tmp and /var/tmp. Use df:

df /tmp /var/tmp
...
Forum: Emergency UNIX and Linux Support Linux 07-06-2012
Replies: 7
Views: 6,265
Posted By otheus
Remove this servers' IP addresses from...

Remove this servers' IP addresses from resolv.conf, and further, stop and disable the named service on it. After this, your host will use only the master and slave DNS servers and so should always be...
Forum: Emergency UNIX and Linux Support Linux 05-30-2012
Replies: 8
Views: 3,810
Posted By otheus
From 25+ years experience: The price you pay for...

From 25+ years experience: The price you pay for software seems to have absolutely no relation at all in relation to the end-user experience (usability + support).

When it comes to anti-virus...
Forum: Emergency UNIX and Linux Support Linux 05-30-2012
Replies: 8
Views: 3,810
Posted By otheus
clamAV is open source

clamAV is open source
Forum: Shell Programming and Scripting Linux 05-21-2012
Replies: 5
Views: 3,263
Posted By otheus
Just need a little more info... what shell-tool...

Just need a little more info... what shell-tool or programming language are you intending to use for this?
Forum: High Performance Computing Linux 05-21-2012
Replies: 4
Views: 3,794
Posted By otheus
"Understanding" isn't so important. At the end of...

"Understanding" isn't so important. At the end of the results, there is a number labeled "GLOPS". It looks like this:

WR00L2C2 8192 16 1 1 327.60 1.119e+00
...
Forum: High Performance Computing Linux 05-19-2012
Replies: 4
Views: 3,794
Posted By otheus
the standard measuring tool is HPL which solves...

the standard measuring tool is HPL which solves for a very large multidimensional array. Prepackaged rpms might be found in the Rocks distribution. The answer is yes to each of your other questions
Forum: Shell Programming and Scripting Linux 05-18-2012
Replies: 1
Views: 1,279
Posted By otheus
I highly recommend the pdsh tools ...

I highly recommend the pdsh tools (http://sourceforge.net/projects/pdsh/)which greatly facilitates this kind of thing. I really think this will solve most of your problems.

Anyway, the main...
Forum: Shell Programming and Scripting Linux 05-17-2012
Replies: 10
Views: 13,200
Posted By otheus
What do you want to do with the very long SQL...

What do you want to do with the very long SQL statements? Do you want to indent them on second/third lines?

BTW: This is what perl was designed for:

#!/usr/bin/perl
format =
@###### ...
Forum: Shell Programming and Scripting Linux 05-16-2012
Replies: 10
Views: 13,200
Posted By otheus
I think my answer is correct but you have the...

I think my answer is correct but you have the files on the command line in the wrong order.

awk 'NR==FNR{A[$1]=$2;next} A[$1]{$5=A[$1];print}' file1 file2
Forum: Ubuntu Linux 05-16-2012
Replies: 3
Views: 1,559
Posted By otheus
Several ways to do this, depending really on what...

Several ways to do this, depending really on what you need and which postfix server you are using. Can you provide more info? Will the server be deliverying "Regular" mail into a Mailbox as well as...
Forum: UNIX for Dummies Questions & Answers Linux 05-16-2012
Replies: 2
Views: 957
Posted By otheus
cat /etc/issue

cat /etc/issue
Forum: Emergency UNIX and Linux Support Linux 05-15-2012
Replies: 3
Views: 7,163
Posted By otheus
Indeed, I see the same problem on our system. ...

Indeed, I see the same problem on our system.

---------- Post updated at 01:56 PM ---------- Previous update was at 01:51 PM ----------

Ah, it's a read-only value in the driver source. This...
Forum: Emergency UNIX and Linux Support Linux 05-03-2012
Replies: 15
Views: 22,289
Posted By otheus
1. Depends on what the operating characteristics...

1. Depends on what the operating characteristics of the program. Drop a stop/start script in cron.daily/ and go from there.

2. Again, how do you characterize when it is hung? That is, what...
Forum: Emergency UNIX and Linux Support Linux 01-30-2012
Replies: 3
Views: 2,190
Posted By otheus
Use the ldap client command to bind as a user. If...

Use the ldap client command to bind as a user. If the command fails, you should
get nonzero exit code. If it succeeds, you should get
a zero exit code. If you can confirm this, you just
put the...
Forum: Emergency UNIX and Linux Support Linux 12-29-2011
Replies: 4
Views: 1,877
Posted By otheus
Is mysql running? service mysqld status ...

Is mysql running?

service mysqld status

ps fax | grep mysqld
Forum: UNIX for Dummies Questions & Answers Linux 12-09-2011
Replies: 4
Views: 2,721
Posted By otheus
A more portable solution via perl: ...

A more portable solution via perl:

#!/usr/bin/perl

use POSIX qw(strftime);
my $file = shift @ARGV;
stat $file;
die "File $file does not exist or cannot be read: $!"
unless -f _ || -r _;...
Forum: Programming Linux 12-09-2011
Replies: 2
Views: 1,194
Posted By otheus
my $start; my $last; while (<>) { if (...

my $start;
my $last;
while (<>) {
if ( /^U-\d+ UNIX (\d+)$/) {
if (!defined $start) {
$start = $1;
$last = $1;
next;
}
elsif (!defined $last || $1 > $last +...
Forum: Emergency UNIX and Linux Support Linux 12-08-2011
Replies: 7
Views: 2,786
Posted By otheus
Well, I suppose this depends on which subset of...

Well, I suppose this depends on which subset of the regular expressions the extension writer decided to use. The ones used by PHP vary, and the ones used by MySQL are POSIX compliant. So we'll try a...
Showing results 1 to 25 of 48

 


All times are GMT -4. The time now is 06:20 PM.