nid missing from stacktrace and tid is decimal


 
Thread Tools Search this Thread
Operating Systems Linux nid missing from stacktrace and tid is decimal
# 1  
Old 01-26-2012
nid missing from stacktrace and tid is decimal

To identify which java thread was hogging the cpu on linux I used to have to convert the lightweight thread id from a ps command (ps -eLo pid,ppid,tid,pcpu,comm | grep <PID>) to a hex value, take a thread dump and find the nid with the same hex value. I tried that recently on Enterprise Linux Enterprise Linux Server release 5.2 and SUSE Linux Enterprise Server 10 (x86_64) and the tid from the ps output and the tid in the thread dump were the same decimal value and the nid value was missing. Can anyone tell me when this changed e.g. kernel version?
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Sum the fields with 6 decimal places - getting only 2 decimal places as output

I used the below script to Sum up a field in a file based on some unique values. But the problem is when it is summing up the units, it is truncating to 2 decimals and not 6 decimals as in the input file (Input file has the units with up to 6 Decimals – Sample data below, when the units in the 2... (4 Replies)
Discussion started by: brlsubbu
4 Replies

2. Programming

Urgent help needed.. C++ program to convert decimal to hexa decimal

Hi , seq can be 0...128 int windex = seq / 8; int bindex = seq % 8; unsigned char bitvalue = '\x01' << (7-bindex) ; bpv.bitmapvalue = bitvalue; This is the part of a program to convert decimal to bitmap value of hexadecimal. I want this to change to convert only to... (1 Reply)
Discussion started by: greenworld123
1 Replies

3. UNIX for Dummies Questions & Answers

Convert hexa decimal to decimal

Hi, I want to convert two hexadecimal numbers to decimal using unix command line. 1cce446295197a9d6352f9f223a9b698 fc8f99ac06e88c4faf669cf366f60d I tried using `echo "ibase=16; $no |bc` printf '%x\n' "1cce446295197a9d6352f9f223a9b698" but it doesn't work for such big number it... (4 Replies)
Discussion started by: sudhakar T
4 Replies

4. Red Hat

Yum - resolving missing dependencies that are not missing

I am trying to install VirtualBox on RHEL 5 but I need the 32 bit version for 32 bit Windows. When I run yum I get the following: sudo yum localinstall /auto/spvtg-it/spvss-migration/Software/VirtualBox-4.3-4.3.2_90405_el6-1.i686.rpm Loaded plugins: fastestmirror Setting up Local Package... (13 Replies)
Discussion started by: gw1500se
13 Replies

5. SuSE

How to resolve missing missing dependencies with opensuse 11.3 and 12.3?

Hello, This is a programming question as well as a suse question, so let me know if you think I should post this in programming. I have an application that I compiled under opensuse 12.2 using g77-3.3/g++3.3. The program compiles and runs just fine. I gave the application to a colleague who... (2 Replies)
Discussion started by: LMHmedchem
2 Replies

6. Homework & Coursework Questions

Decimal to BCD (Binary Coded Decimal)

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Design an algorithm that accepts an input a decimal number and converts it into BCD (Binary... (2 Replies)
Discussion started by: caramba
2 Replies

7. UNIX for Dummies Questions & Answers

Decimal to BCD (Binary Coded Decimal)

Anybody please help me... Design an algorithm that accepts an input a decimal number and converts it into BCD (Binary Coded Decimal) representation. Also, draw its Flow Chart. This is a unix qn... plz post algorithm for that :confused: (1 Reply)
Discussion started by: caramba
1 Replies

8. UNIX for Dummies Questions & Answers

UNIX command to get inode's tid and pid

Hi everyone, I am new here in www.unix.com, i found this site because I am looking for an answer to this problem of mine. I need to know a UNIX command to display an inode's thread id and process id. Hope someone can help me on this. Thanks :D (8 Replies)
Discussion started by: rodkun
8 Replies
Login or Register to Ask a Question
tapset::context(3stap)													    tapset::context(3stap)

NAME
tapset::context - systemtap context tapset DESCRIPTION
Context functions provide additional information about where an event occurred. These functions can provide information such as a back- trace to where the event occurred and the current register values for the processor. print_regs Print a register dump See function::print_regs(3stap) for details. pp Returns the active probe point See function::pp(3stap) for details. ppfunc Returns the function name parsed from pp() See function::ppfunc(3stap) for details. probe_type The low level probe handler type of the current probe. See function::probe_type(3stap) for details. execname Returns the execname of a target process (or group of processes) See function::execname(3stap) for details. pid Returns the ID of a target process See function::pid(3stap) for details. tid Returns the thread ID of a target process See function::tid(3stap) for details. ppid Returns the process ID of a target process's parent process See function::ppid(3stap) for details. pgrp Returns the process group ID of the current process See function::pgrp(3stap) for details. sid Returns the session ID of the current process See function::sid(3stap) for details. pexecname Returns the execname of a target process's parent process See function::pexecname(3stap) for details. gid Returns the group ID of a target process See function::gid(3stap) for details. egid Returns the effective gid of a target process See function::egid(3stap) for details. uid Returns the user ID of a target process See function::uid(3stap) for details. euid Return the effective uid of a target process See function::euid(3stap) for details. is_myproc Determines if the current probe point has occurred in the user's own process See function::is_myproc(3stap) for details. cpuid Returns the current cpu number See function::cpuid(3stap) for details. cpu Returns the current cpu number See function::cpu(3stap) for details. registers_valid Determines validity of register() and u_register() in current context See function::registers_valid(3stap) for details. user_mode Determines if probe point occurs in user-mode See function::user_mode(3stap) for details. is_return Whether the current probe context is a return probe See function::is_return(3stap) for details. target Return the process ID of the target process See function::target(3stap) for details. module_name The module name of the current script See function::module_name(3stap) for details. stp_pid The process id of the stapio process See function::stp_pid(3stap) for details. remote_id The index of this instance in a remote execution. See function::remote_id(3stap) for details. remote_uri The name of this instance in a remote execution. See function::remote_uri(3stap) for details. stack_size Return the size of the kernel stack See function::stack_size(3stap) for details. stack_used Returns the amount of kernel stack used See function::stack_used(3stap) for details. stack_unused Returns the amount of kernel stack currently available See function::stack_unused(3stap) for details. addr Address of the current probe point. See function::addr(3stap) for details. uaddr User space address of current running task See function::uaddr(3stap) for details. cmdline_args Fetch command line arguments from current process See function::cmdline_args(3stap) for details. cmdline_arg Fetch a command line argument See function::cmdline_arg(3stap) for details. cmdline_str Fetch all command line arguments from current process See function::cmdline_str(3stap) for details. SEE ALSO
function::print_regs(3stap), function::pp(3stap), function::ppfunc(3stap), function::probe_type(3stap), function::execname(3stap), function::pid(3stap), function::tid(3stap), function::ppid(3stap), function::pgrp(3stap), function::sid(3stap), function::pexecname(3stap), function::gid(3stap), function::egid(3stap), function::uid(3stap), function::euid(3stap), function::is_myproc(3stap), function::cpuid(3stap), function::cpu(3stap), function::registers_valid(3stap), function::user_mode(3stap), function::is_return(3stap), function::target(3stap), function::module_name(3stap), function::stp_pid(3stap), function::remote_id(3stap), function::remote_uri(3stap), function::stack_size(3stap), function::stack_used(3stap), function::stack_unused(3stap), function::addr(3stap), function::uaddr(3stap), function::cmdline_args(3stap), function::cmdline_arg(3stap), function::cmdline_str(3stap), stap(1), stapprobes(3stap) IBM
--- tapset::context(3stap)