Sponsored Content
Operating Systems Linux Debian Profiling Processes while shutdown Post 302982123 by Varun Pandey on Saturday 24th of September 2016 10:21:27 AM
Old 09-24-2016
More Details

Thanks Jim Smilie,

You are right, it could very much be a co/in-dependent set of processes creating the problem.

I have not installed any packages noticeably. I am sure gdb wouldn't have this issue. However, I do have my own code on the box (multiple demons). The problem started appearing recently when the reboot/shutdown command started taking more than 10 minutes as opposed to 45 second previous reboot time. And now, the delay is almost consistent.

Whether mine or external, I simply need to narrow down the problem.
 

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Profiling..entry for a function in pthread_create

Hello, i am try to write a profiler for a multithreaded applciation. When i creat e a thread for "function f2()" the profiling information for this function does not get captured in the struct profileManager. i;e i get the exit information for "function f2()" in that thread, but the entry... (2 Replies)
Discussion started by: Vikky Panchal
2 Replies

2. UNIX for Advanced & Expert Users

Kernel Profiling

I compiled my device driver with the profiling option -p but while linking I am getting undefined reference to _mcount. LD /vobs/femto_drivers/DspBiosLink/dsplinkk/src/dsplinkk.o Building modules, stage 2. MODPOST *** Warning: "_mcount" undefined! Architechture: ppc32 From... (0 Replies)
Discussion started by: Ashok V
0 Replies

3. UNIX for Dummies Questions & Answers

Script to force Oracle database shutdown when shutdown immediate does not work

I have Oracle 9i R2 on AIX 5.2. My Database is running in shared server mode (MTS). Sometimes when I shutdown the database it shutsdown cleanly in 4-5 mints and sometimes it takes good 15-20 minutes and then I get some ora-600 errors and only way to shutdown is by opening another session and... (7 Replies)
Discussion started by: aixhp
7 Replies

4. UNIX for Dummies Questions & Answers

profiling execution of a process

question goes like this : Explain how users can profile execution of a process with help of an example? can some one pls give me the answer?? (1 Reply)
Discussion started by: rakesh1988
1 Replies

5. Programming

Profiling results and SMP

The SCO OSR 5.7 system was migrated from older HP DL360 to new DL380 G7. The SMP feature was not activated on older box, it is activated now on this 4 core Xeon. A s/w we maintain has been copied without any change over to the new box. I noticed that the application profiling does not show any... (4 Replies)
Discussion started by: migurus
4 Replies

6. AIX

C profiling tool for AIX

Hello everybody, Please let me know if there are any free C profiling tool for AIX environment Thanks in advance (0 Replies)
Discussion started by: SteAlma
0 Replies
reboot(8)						      System Manager's Manual							 reboot(8)

Name
       reboot - automatic reboot procedures

Syntax
       /etc/reboot [ -n ] [ -q ]

Description
       The  ULTRIX  system is booted by loading a kernel image, usually into memory at location zero and transferring to zero.	Because the system
       is not reenterable, the kernel image must be read in from disk each time the system is bootstrapped.

       When the reboot of a running system is desired, is normally used.  If there are no users, can be used.  The command causes the disks to	be
       synced,	and  then  a multiuser reboot is initiated.  The system is booted and an automatic disk check is performed.  If the procedure suc-
       ceeds, the system is then brought up for the users.

       The system will reboot itself after a power failure or after a crash, provided auto-restart is enabled on your system.  A consistency check
       of the file systems will be performed and, unless the check fails, the system will resume multiuser operations.

Options
       -n   Prevents the disks from being synced.

       -q   Reboots quickly and ungracefully, without shutting down running processes first.

Files
       System code

See Also
       crash(8v), fsck(8), halt(8), init(8), newfs(8), rc(8), shutdown(8)

																	 reboot(8)
All times are GMT -4. The time now is 02:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy