Search Results

Search: Posts Made By: jim mcnamara
5,159
Posted By jim mcnamara
IF you had mentioned your OS I could be sure of a...
IF you had mentioned your OS I could be sure of a better answer -
have you tried grep?

grep -A 10 -B 10 "CORRUPTION DETECTED" logfilename.log
is one way to it with many, but not all, OSes.
...
6,892
Posted By jim mcnamara
Collect Core Dumps...
Collect Core Dumps (https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/bugreports004.html)
Shows how to locate core files. It looks to me like you do not have any existing core...
5,847
Posted By jim mcnamara
Based on this drwxr-xr-x 2 dbadmin dbadmin...
Based on this

drwxr-xr-x 2 dbadmin dbadmin 4096 Apr 21 09:44 2020-04-17
drwxr-xr-x 2 dbadmin dbadmin 4096 Apr 21 09:44 2020-04-16
drwxr-xr-x 2 dbadmin dbadmin 4096 Apr 21 09:44 2020-04-20...
4,700
Posted By jim mcnamara
D is a device wait. I don't remember old SunOS...
D is a device wait. I don't remember old SunOS having one, but OK, no problem, the result is the same - device not available or not online, etc. Both "real" and virtual I/O devices can cause this. ...
4,700
Posted By jim mcnamara
Have you checked logs from those processes (ksh...
Have you checked logs from those processes (ksh shell scripts)? One cause is when the free memory list becomes exhausted. This can be the result of a device wait. :ike a disk wait that does not...
5,384
Posted By jim mcnamara
You need code tags, your post is hard to read :)...
You need code tags, your post is hard to read :)

Start with only the sql, run it from the sqlplus prompt.
Next wrap JUST the sql that ran above in a shell wrapper. Execute it. Use the...
34,903
Posted By jim mcnamara
I cannot test this on AIX; works on Linux and...
I cannot test this on AIX; works on Linux and Solaris:

find . -name '/[Oo]racle/mymac' -exec touch {} \;
38,138
Posted By jim mcnamara
Tom Kite wrote owa_sylk which writes to .xls...
Tom Kite wrote owa_sylk which writes to .xls format files. It is an Oracle package, scrape it from here:

Ask TOM "Owa_sylk utility"...
3,175
Posted By jim mcnamara
Try pgrep -l rpm | while read pid do ...
Try

pgrep -l rpm | while read pid
do
kill $pid
done
3,424
Posted By jim mcnamara
FWIW - Microsoft originally ran 2 OSes - Xenix...
FWIW - Microsoft originally ran 2 OSes - Xenix and DOS. Xenix was a UNIX clone and DOS later became Windows. It was a business decision to drop Xenix and go all Windows, just like going WSL2 is...
5,182
Posted By jim mcnamara
This: Process priority and control on AIX...
This:
Process priority and control on AIX (https://www.ibm.com/developerworks/aix/library/au-aixprocesscontrol/index.html)

Does not seem to list a "D" state for AIX. Maybe some of the extended...
5,182
Posted By jim mcnamara
I think that people's associations associations...
I think that people's associations associations for the the word 'zombie' get in the way of dealing with it. They are not supposed to be scary or a scourge on the face of the earth. Just an "oops"...
2,942
Posted By jim mcnamara
Your code is a little hard to read.... awk...
Your code is a little hard to read....

awk '{printf("NAME: %s DESCRIPTION: %s \n", $5 $6 $7 $8 $9 $(10) } ' filename

The $5 $6 ... part does not know how many words are the in input line. ...
2,326
Posted By jim mcnamara
Optimization does not mean condensing several...
Optimization does not mean condensing several readable single commands into a less readable single line - which can be harder to maintain, say, in six months. When you have forgotten about it. And...
14,623
Posted By jim mcnamara
FWIW: Don't Use ZFS on Linux: Linus Torvalds -...
FWIW:
Don't Use ZFS on Linux: Linus Torvalds - It's FOSS (https://itsfoss.com/linus-torvalds-zfs/)

Torvalds will not allow Linux kernel inclusion of ZFS support because of Oracle's position on...
4,821
Posted By jim mcnamara
Assuming Linux: a=3 b=3 grep -A$a -B$b ...
Assuming Linux:
a=3
b=3
grep -A$a -B$b '12345' somefile
This searches from 3 lines before and 3 line after the keyword is found. Total 7 lines, including keyword '12345'
1,725
Posted By jim mcnamara
I think you need to specify a field separator as...
I think you need to specify a field separator as a comma.


Owner@Owner-PC ~
$ awk -F, '!a[$1]++' filename
ENSG00000003137,ENST00000001146
ENSG00000003402,ENST00000309955


Owner@Owner-PC ~...
4,999
Posted By jim mcnamara
To sort dates it works best to convert them to...
To sort dates it works best to convert them to epoch seconds - the number of seconds since Jan 1 970. This code adds an epoch time sorts based on the epoch time, then prints the original minus the...
3,025
Posted By jim mcnamara
You want alternation: find / -name...
You want alternation:

find / -name "$serviceitem" ! -size 0 -exec egrep -v "(tmp|docker|WinSxS|Permission|HISTORY|alternatives|bearer11ssl|manifest) \;"
9,442
Posted By jim mcnamara
Patching might not work - because the patch may...
Patching might not work - because the patch may assume versions of the link libraries that are different from what you linked in your original build.
Do you have a sandbox to test the patch? Try...
9,361
Posted By jim mcnamara
Bumping up posts or double posting is not...
Bumping up posts or double posting is not permitted in these forums.

Please read the rules (https://www.unix.com/misc.php?do=cfrules), which you agreed to when you registered, if you have not...
10,642
Posted By jim mcnamara
Duplicate means has the same identical data. ...
Duplicate means has the same identical data. From your comment I think you want something else - like the intent - what the file represents.

If you really mean duplicate, a simple checksum ...
2,382
Posted By jim mcnamara
The ftpaccess file is probably blocking the user,...
The ftpaccess file is probably blocking the user, as a guess, something is not configured correctly in there.

Reference: Controlling FTP Server Access - System Administration Guide: Network...
3,058
Posted By jim mcnamara
use time-style=+FORMAT to force a constant time...
use time-style=+FORMAT to force a constant time format on ls -l output, +FORMAT uses the format that the date command uses as well.
See the man page for your date command if this is foreign to...
5,534
Posted By jim mcnamara
It is a shorthand character class that mostly...
It is a shorthand character class that mostly expands to [ \f\t\n\v] -- it is shorthand for a character class, like \d and others

Explained here:.

Regexp Tutorial - Shorthand Character...
Showing results 1 to 25 of 500

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