Sponsored Content
Top Forums Programming systemtap returntimeofday_s and some questions Post 302510624 by ctsgnb on Monday 4th of April 2011 01:01:52 PM
Old 04-04-2011
gettimeofday

See the syntax in the link provided above : a pointer to a timeval structure should be specified as first argument to store the result

Last edited by ctsgnb; 04-04-2011 at 02:10 PM..
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

questions

Dear Guys , I have some Questions , i need to have answeres for . 1. now if i took a back up for /etc/passwd and /etc/shadow , like simple copy .. and Install a new system , and paste those two files to the new system ... are the passwords and user info. going to work ?? is it posibble ? ... (1 Reply)
Discussion started by: tamemi
1 Replies

2. UNIX for Dummies Questions & Answers

Just a few questions.

Hi everyone im new to this forums, i just wanted to get started by asking a few question(Im a Unix newbie) 1. How do i sort a file called "dirr" in a ascending order on the 3rd column 2. what does alias on=who do Thanks in advance!!! (1 Reply)
Discussion started by: Da Paper
1 Replies

3. UNIX for Dummies Questions & Answers

3 questions in 1

Hi folks, 1. How can i know which version/type of unix i am running? any special commands?. I connect to a remote machine through SSH but have no clue what kind of unix that is (don't laugh :-)) 2. Why does the machine i connect to have $ sign as its shell prompt sign while solaris has #... (2 Replies)
Discussion started by: alikun
2 Replies

4. UNIX for Dummies Questions & Answers

A few questions...

I'm new to this UNIX world ! :D I login to a remote server (UNIX ) from an XP machine.. Let's say I need to download a window manager, I've decided upon wmaker .. But how do I go about it? How do I connect to the internet from my remote Unix X-Term terminal? And how do i install it? ... (2 Replies)
Discussion started by: halluc1nati0n
2 Replies

5. Shell Programming and Scripting

More ps questions.

Hey all, Thanks for all the help you have given me. Two more things I am trying to figure out. I need to issue a command..example ps -ef | grep <process> This would return about 10-15 running processes. I need to verify that there are x amount of processes running. What is... (7 Replies)
Discussion started by: jeffs42885
7 Replies

6. Homework & Coursework Questions

Print questions from a questions folder in a sequential order

1.) I am to write scripts that will be phasetest folder in the home directory. 2.) The folder should have a set-up,phase and display files I have written a small script which i used to check for the existing users and their password. What I need help with: I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies

7. Programming

Systemtap

Hi, I am a newbie to the systemtap. I was wondering is there a way I can write the data to file instead of printing on the screen. This way, I can process the systemtap output periodically using other programs. Thanks in advance!! Fidelity (2 Replies)
Discussion started by: fidelity
2 Replies
STAP(7) 						 Miscellaneous Information Manual						   STAP(7)

NAME
stappaths - systemtap miscellaneous and paths DESCRIPTION
This manual page was generated on 2013-05-14 for systemtap 1.7. The following section will list the main paths in systemtap that are important to know and may be required to reference. Tapset Path: /usr/share/systemtap/tapset/ Systemtap data directory for cached systemtap files, unless overridden by the SYSTEMTAP_TAPSET environment variable or the XDG_DATA_DIRS environment variable. This directory stores a set of builtin functions and probe point aliases are provided by the scripts installed here. These are described in the stapfuncs(3stap) and stapprobes(3stap) manual pages. Runtime Path: /usr/share/systemtap/runtime/ The runtime sources, unless overridden by the SYSTEMTAP_RUNTIME environment variable. Staprun Path: /usr/bin/staprun The auxiliary program supervising module loading, interaction, and unloading. Stapio Path: /usr/lib/systemtap/stapio The Systemtap module input and output handler. sdt.h Path: /usr/include/sys/sdt.h Kernel debuginfo Path: /usr/lib/debug/lib/modules/$(uname -r)/ The location of kernel debugging information when packaged into the kernel-debuginfo RPM, unless overridden by the SYSTEMTAP_DEBUG- INFO_PATH environment variable. The default value for this variable is +:.debug:/usr/lib/debug:build and can be changed using $env SYSTEMTAP_DEBUGINFO_PATH=/path/to/vmlinux . Elfutils searches vmlinux in this path and it interprets the path as a base directory of which various subdirectories will be searched for finding modules. By default, systemtap will also look for vmlinux in these locations: /boot/vmlinux-`uname -r` /lib/modules/`uname -r`/vmlinux /lib/modules/`uname -r`/vmlinux.debug /lib/modules/`uname -r`/build/vmlinux /lib/modules/`uname -r`/.debug/vmlinux.debug /usr/lib/debug/lib/modules/`uname -r`/vmlinux.debug /var/cache/abrt-di/usr/debug/lib/modules/`uname -r`/ /var/cache/abrt-di/usr/lib/debug/lib/modules/`uname -r`/vmlinux.debug Debuginfo for user-space applications have source files located in /usr/src/debug/ Further file information on user-space applica- tions can be determined per-basis using rpm -ql <package>-debuginfo. For supported user-space applications information please visit the systemtap wiki. $HOME/.systemtap Systemtap data directory for cached systemtap files, unless overridden by the SYSTEMTAP_DIR environment variable. /tmp/stapXXXXXX Temporary directory for systemtap files, including translated C code and kernel object. /lib/modules/VERSION/build The location of kernel module building infrastructure. /usr/share/doc/systemtap*/examples Examples with greater detail, can be found here. Each example comes with a .txt or .meta file explaining what the example, sample or demo does and how it is ordinarily run. $SYSTEMTAP_DIR/ssl/server User's server-side SSL certificate database. If SYSTEMTAP_DIR is not set, the default is $HOME/.systemtap. $SYSTEMTAP_DIR/ssl/client User's private client-side SSL certificate database. If SYSTEMTAP_DIR is not set, the default is $HOME/.systemtap. /etc/systemtap/ssl/client Global client-side SSL certificate database. /etc/systemtap/staprun/ staprun's trusted signer certificate database. /etc/sysconfig/stap-server/ stap-server service global configuration file. /etc/stap-server/conf.d/*.conf stap-server service configuration files for default servers. /var/run/stap-server/ stap-server service default location of status files for running servers. /var/log/stap-server/log stap-server service default log file. FILES
/usr/share/systemtap/tapset SEE ALSO
stapprobes(3stap), stapfuncs(3stap), staprun(8), stapvars(3stap), stapex(3stap), stap-server(8), awk(1), gdb(1) BUGS
Use the Bugzilla link of the project web page or our mailing list. http://sourceware.org/systemtap/,<systemtap@sourceware.org>. Systemtap Team STAP(7)
All times are GMT -4. The time now is 02:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy