Sponsored Content
Top Forums UNIX for Advanced & Expert Users GNU = inventions that nobody wants? Post 303010619 by MadeInGermany on Thursday 4th of January 2018 06:28:36 AM
Old 01-04-2018
GNU = inventions that nobody wants?

Stumbled over this today on GNU/Linux, output from ps -fp :
Code:
UID        PID  PPID  C STIME TTY          TIME CMD
root      3516     1  0  2017 ?        00:00:13 syslogd -m 0
UID        PID  PPID  C STIME TTY          TIME CMD
syslog    2952     1  0  2017 ?        00:02:08 rsyslogd

STIME showing 2017? Who needs this gimmick? We have January 2018!
Much better on Unix:
Code:
     UID   PID  PPID   C    STIME TTY         TIME CMD
    root   906     1   0   Dec 16 ?           0:07 /usr/sbin/syslogd

These 3 Users Gave Thanks to MadeInGermany For This Post:
 

9 More Discussions You Might Find Interesting

1. Programming

Gnu C

hello, i have use only TURBO C for programming.i used to did only on windows OS. but now i am trying to program on Linux systems.so i heard about GNU C tools and compiler. i am a bit confused and i want to know a very simplified answer for it. can anybody help me. what a heck is this GNU...... ... (1 Reply)
Discussion started by: vibhory2j
1 Replies

2. News, Links, Events and Announcements

GNU/Solaris

i am looking forward to this one: http://www.opensolaris.org/jive/message.jspa?messageID=11672#11672 i thought that the gentoo community would release the first opensolaris distri, but perhabs we will get a chance to try opensolaris within 1/2 hour installation and not 12 hours "gentoo-stage_1"... (2 Replies)
Discussion started by: pressy
2 Replies

3. HP-UX

Gnu tools for hp-ux

Hi everyone, I urgently need to install all GNU tools for HP-UX 11.23. Is there somewhere i can get the whole package as opposed to download each of them separate. I'm really stuck, i need them especially gcc. kindly assist. (2 Replies)
Discussion started by: dowell
2 Replies

4. UNIX for Advanced & Expert Users

GNU screen

Hello, One of the things I like about screen is that it has a scrollback buffer, which if you go into the copy mode, will let you go back for a specified number of line. Is there a way to extend the number of scrollback lines in screen? I've looked thoroughly online and I could not find a... (2 Replies)
Discussion started by: neked
2 Replies

5. UNIX for Advanced & Expert Users

non GNU utilities

Hi Chaps, Does anyone know of a source of proprietary unix utilities. I often fall into the trap of testing a spot of code on my linux machine, posting the answer in the forums and then realise that the solution may only work with the GNU utils that I use, and not standard posix ones (if there are... (4 Replies)
Discussion started by: wempy
4 Replies

6. BSD

Anyone using GNU BSD?

Is anyone using or planning to use GNU BSD in production yet? I'd like to hear experiences. (Debian GNU/NetBSD) (8 Replies)
Discussion started by: vpsville
8 Replies

7. AIX

GNU findutils

Hi, We are running 64-bit AIX 6.1. I have gcc 4.2.0 on our system. I'd like to get the latest copy of GNU findutils on the server. From what I see, I have two basic options: 1) download source code and compile using gcc or 2) download rpm and install. Would someone please point me in the right... (1 Reply)
Discussion started by: Eben Yong
1 Replies

8. Debian

GNU Barcodes

I wish to be able to print a barcode .5 inches from top of the page and centered. I generate the barcode - yes 12345 | head -84 | barcode -p 5x5.0cm -umm -e CODE39 > test.ps; and print - lpr -o media=letter -#1 -P LJ1012 /var/www/test.ps -o page-top=33 -o page-bottom=44 -o... (1 Reply)
Discussion started by: Meow613
1 Replies

9. Shell Programming and Scripting

Using GNU Regex

I'm just learning Regex and while testing my understanding I received some unexpected results. I created example.txt with the text "abcddd". Running the command grep --color 'd' example.txt I received the results: "abcddd" with the first and second letter d highlighted in red. So... (1 Reply)
Discussion started by: rthomas529
1 Replies
opensnoop(1m)							   USER COMMANDS						     opensnoop(1m)

NAME
opensnoop - snoop file opens as they occur. Uses DTrace. SYNOPSIS
opensnoop [-a|-A|-ceFghstvxZ] [-f pathname] [-n name] [-p PID] DESCRIPTION
opensnoop tracks file opens. As a process issues a file open, details such as UID, PID and pathname are printed out. The returned file descriptor is printed, a value of -1 indicates an error. This can be useful for troubleshooting to determine if applia- cions are attempting to open files that do not exist. Since this uses DTrace, only users with root privileges can run this command. OPTIONS
-a print all data -A dump all data, space delimited -c print current working directory of process -e print errno value -F print the flags passed to open -g print full command arguments -s print start time, us -t print user stack trace -v print start time, string -x only print failed opens -Z print zonename -f pathname file pathname to snoop -n name process name to snoop -p PID process ID to snoop EXAMPLES
Default output, print file opens by process as they occur, # opensnoop Print human readable timestamps, # opensnoop -v See error codes, # opensnoop -e Snoop this file only, # opensnoop -f /etc/passwd FIELDS
ZONE Zone name UID User ID PID Process ID PPID Parent Process ID FD File Descriptor (-1 is error) FLAGS Flags passed to open ERR errno value (see /usr/include/sys/errno.h) CWD current working directory of process PATH pathname for file open COMM command name for the process ARGS argument listing for the process TIME timestamp for the open event, us STRTIME timestamp for the open event, string DOCUMENTATION
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with ver- bose descriptions explaining the output. EXIT
opensnoop will run forever until Ctrl-C is hit. BUGS
occasionally the pathname for the file open cannot be read and the following error will be seen, dtrace: error on enabled probe ID 6 (...): invalid address this is normal behaviour. AUTHOR
Brendan Gregg [Sydney, Australia] SEE ALSO
dtrace(1M), truss(1) version 1.60 Jan 12, 2006 opensnoop(1m)
All times are GMT -4. The time now is 11:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy