10 More Discussions You Might Find Interesting
1. OS X (Apple)
Hello, I was looking at kernel log's and found some parts what was "interesting"
I previously started looking what has been going on in my computer because I had hacker attacks on my machine.
Installed Avira & Little Snitch - softwares
Previously my computer opened few folders what I have... (1 Reply)
Discussion started by: Scourge-
1 Replies
2. Shell Programming and Scripting
Can you help please ?
./get_df.sh: syntax error at line 13 : `then' unexpected
#!/bin/ksh
while :
do
PER=`df -h /DATA/ | nawk '{if (NR != 1) { sub (/%/,""); print $(NF-1)}}'`
if
then
if]
then
mailx -s "FS over 90 per" me@company.com
touch... (2 Replies)
Discussion started by: drbiloukos
2 Replies
3. Shell Programming and Scripting
When I run a lengthy script in debug mode i need to capture all the steps which are executed.
e.g
ksh -x script.ksh
+ test -f /proc/mounts
+ /bin/ls -l /proc/21326/exe
+ is=ksh
+ test ksh = ksh
+ test -s /etc/ksh.kshrc
+ . /etc/ksh.kshrc
+ trap 1 2 3
+ who am i
+ awk {print $1}
+... (2 Replies)
Discussion started by: zooby
2 Replies
4. Programming
Hi,
i' m using eclipse 3.2.2 on ubuntu. When i debug a program (C language) i cannot see any variable in the variables view. From the console (debug perspective) i can see the message: no source file named class.c. What is the problem???
thanks (1 Reply)
Discussion started by: littleboyblu
1 Replies
5. Shell Programming and Scripting
echo "input time in hhmmss"
read $st
h=`echo $st | cut -c1-2`
min=`echo $st | cut -c3-4`
s=`echo $st | cut -c5-6`
echo "input time in hhmmss"
read $end
h1=`echo $end | cut -c1-2`
min1=`echo $end | cut -c3-4`
s1=`echo $end | cut -c5-6`
x= `expr $h /* 60 + $min`
y= `expr $h1 /* 60 +... (8 Replies)
Discussion started by: abhishek27
8 Replies
6. UNIX for Dummies Questions & Answers
I'm trying to debug a script in korn shell
At the begining of the script I've got
#!/bin/ksh -vx
However, this seems to only dump debugging info to the screen. How do I get that sent to a text file? I've tried various redirects but none of them seem to work.
Thanks (2 Replies)
Discussion started by: Ant1815
2 Replies
7. Programming
Hi,
I recently has a C++ code which only run on Fedora Platform.
I wanted to run debugging on these code as I came across some unexplainable
scenario output.
Can anyone suggest how could I use any debugger? I tried to use GNU GDB but then the code I am dealing now are involving... (0 Replies)
Discussion started by: ahjiefreak
0 Replies
8. UNIX for Advanced & Expert Users
Hi all,
How can I get the list of all Threads and the Total count of threads under a particular process ?
Do suggest !!
Awaiting for the replies !!
Thanks
Varun:b: (2 Replies)
Discussion started by: varungupta
2 Replies
9. Programming
i am new to solaris
i have one module which contain certain header files and sub modules
i want ot execute the module and c what the values are beeing assigned to variables
is makefile only solution for this
is there any editor to help it,so that i can c the flow of the program and also... (1 Reply)
Discussion started by: ramneek
1 Replies
10. Programming
Hi,
I need to fix a C program someone wrote 10 years ago and I have very limited knowledge on C.
Does someone know how to debug a C program? I am so used to VB debuger.
The C program is on Unix SunOs
Thanks for your help! (1 Reply)
Discussion started by: whatisthis
1 Replies