Interview question ...pls help!!


 
Thread Tools Search this Thread
Top Forums Programming Interview question ...pls help!!
# 1  
Old 08-26-2008
Interview question ...pls help!!

You have a compiled C binary which you can execute and run, but
you suspect it may be hanging. You do not have the source. What
can you do to gather information and/or clues about what the
program is doing?

Any help will be really appreciated!!
# 2  
Old 08-26-2008
This really smells like homework to me. If it is an interview question and you do not know the answer, you would be more than foolish to attend the interview. Even if you make it past the interview you would be let go for falsifying your credentials later on.

Either way - I don't know.

Answer depends on the OS - possibly one of these: truss, tusc, strace, maybe ptrace.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Red Hat

Linux administrator interview question

pls any one tell all the interview question about linux administrator for L1 and L2... (3 Replies)
Discussion started by: deepansekaran
3 Replies

2. UNIX for Dummies Questions & Answers

Interview question

A process(apache/webservice) is continually writing a log(it is a single log, there are no several logs with different file names) onto a unix system. the file system is filling up. How do you handle the situation. Is there a way to handle this situation without killing the parent process.(... (1 Reply)
Discussion started by: ramky79
1 Replies

3. Shell Programming and Scripting

pls help kinda difficult question for a beginner

1. Create a directory script (project_dir.sh) · Write a script in your home directory to create a subdirectory called “PROJECT<99>” within your home directory on the Ubantu/Linux server. <99> is your project number (e.g. 01,02,03, ... 15). · The script must test whether... (1 Reply)
Discussion started by: bugenhagen_
1 Replies

4. UNIX for Dummies Questions & Answers

Suggestions for the interview

Hi guys, i'm undergoing a traning in solaris administration and i request if any one have an idea on the interview questions on solaris. thank you. (3 Replies)
Discussion started by: 038karthik
3 Replies

5. UNIX for Dummies Questions & Answers

UNIX/Linux interview question

Hi, I went for an interview this morning. The questions I was asked.... 1. On Redhat, you have downloaded a program called XYZ. You did all kinds update to this program. Now you are ready to move this to production. How would you do it? He already said he doesn't want to use "tar &... (2 Replies)
Discussion started by: samnyc
2 Replies

6. UNIX for Dummies Questions & Answers

Interview question....help

what distros have you selected in the past, for which applications, and why did you choose them? Would you make the same choices again, knowing what you know now? Any help will be really appreciated!! (2 Replies)
Discussion started by: choco4202002
2 Replies

7. Shell Programming and Scripting

Shell script interview question...help required urgent!!!

hi i have cancelled my previous post (2 Replies)
Discussion started by: choco4202002
2 Replies

8. Shell Programming and Scripting

Pls Ans this question ...

In the Text file ex sample.txt cat sample.txt morning evening night bye __________________ i want add text "Good " i front of all the words . u have to use one vi command only or u can write script also o/p should be like this cat sample.txt Good morning Good evening (7 Replies)
Discussion started by: premnathk
7 Replies
Login or Register to Ask a Question