| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|SSH returned this, what does it mean?|
| 3:36 pm on May 6, 2010 (gmt 0)|
I really don't know too much about running ssh commands other than simple tasks so bear with me.
I tried to run ApacheBench on my server using a url with lots of variables in it. Apparently ApacheBench is not installed on this server and this is what it showed after I tried to run it.
# ab -n 100 -c 10 http://www.example.com/script.php?var=123&var1=500&var2=60&var3=10&var4=20&var5=15&var6=Arial&var7=center&var8=FFFFFF&var9=000000&var10=FFFFCC&var11=006699&var12=1
 Done var1=500
 Done var2=60
 Done var3=10
 Done var4=20
 Done var5=15
 Done var6=Arial
 Done var7=center
 Done var8=FFFFFF
root@server [~]# -bash: ab: command not found
 Exit 127 ab -n 100 -c 10 http://www.example.com/script.php?var=123
 Done var9=000000
- Done var10=FFFFCC
+ Done var11=006699
It says "Done" as if it actually did something or changed some setting, but I really don't know what all that means.
| 11:29 pm on May 7, 2010 (gmt 0)|
ApacheBench output looks something more like:
This is ApacheBench, Version 1.3c <Revision: 1.41 > apache-1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, [zeustech.net...]
Copyright (c) 1998-1999 The Apache Group, [apache.org...]
Server Software: Zeus/3.4
Server Hostname: www.example.com
Server Port: 80
Document Path: /
Document Length: 2049 bytes
Concurrency Level: 200
Time taken for tests: 24.537 seconds
ApacheBench is just for checking basic request handling, and it's not intended to be an exhaustive benchmarking program. Your test URI with all of the parameters no doubt confused the little program.
See here for more info about running benchmarking tests on Apache: [xenoclast.org...]
| 11:32 pm on May 7, 2010 (gmt 0)|
"&" is for starting a process in the background.
And "[X] PID" is the output for newly started processes.
So in effect, you ran commands like "var2=60", "var4=20", etc. which failed because such executables don't exist.
You need to include your parameter inside quotes if it contains "&".
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved