LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-29-2009, 02:26 AM   #1
Ajit Gunge
Member
 
Registered: Jan 2008
Location: Pune
Distribution: RHEL,fedora
Posts: 253
Blog Entries: 1

Rep: Reputation: 21
Regarding GDB


Hi I am using GDB for debugging.I have the ps command to get all the process list.Now I get this output to a file using this command

ddb> ps>proceess.log
Now I want to see the output of the process.log but I cannot run the vi command on this.Does anyone know how can get to read the outpur of this file.

Thanks
Ajit
 
Old 05-29-2009, 02:40 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by Ajit Gunge View Post
Hi I am using GDB for debugging.I have the ps command to get all the process list.Now I get this output to a file using this command

ddb> ps>proceess.log
Now I want to see the output of the process.log but I cannot run the vi command on this.Does anyone know how can get to read the outpur of this file.

Thanks
Ajit
I'm not sure what you're trying to do. Are you trying to create a process.log file? What is the ddb command? Do you mean this?
Code:
ps -A > /tmp/process.log
Please try to explain what you want more clearly.
cheers,
jdk
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
normal gdb and spec gdb for kgdb Igor007 Programming 1 09-23-2005 05:15 PM
normal gdb and spec gdb for kgdb Igor007 Linux - Newbie 1 09-23-2005 02:41 PM
gdb .. looking for 32 bit gdb.. for ia64 suse.. nkshirsagar SUSE / openSUSE 0 12-09-2004 04:02 AM
Gdb Jozsef Linux - Software 1 10-06-2004 02:41 PM
How to use GDB ? indian Programming 4 09-06-2004 06:11 AM


All times are GMT -5. The time now is 09:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration