Search Results

Search: Posts Made By: otheus
12,239
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...
14,967
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...
21,205
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...
12,358
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...
119,547
Posted By otheus
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...
9,641
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...
9,917
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
...
8,745
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...
5,687
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...
5,687
Posted By otheus
clamAV is open source
clamAV is open source
6,169
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 05-21-2012
8,095
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 05-19-2012
8,095
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
2,316
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...
19,330
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 =
@###### ...
19,330
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 05-16-2012
2,956
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...
3,908
Posted By otheus
cat /etc/issue
cat /etc/issue
9,532
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...
41,818
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...
3,302
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...
2,766
Posted By otheus
Is mysql running? service mysqld status ...
Is mysql running?

service mysqld status

ps fax | grep mysqld
3,923
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 12-09-2011
1,733
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 +...
4,042
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 09:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy