Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

SSH returned this, what does it mean?

3:36 pm on May 6, 2010 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 4, 2002
posts: 187
votes: 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
[1] 4544
[2] 4545
[3] 4546
[4] 4547
[5] 4548
[6] 4549
[7] 4550
[8] 4551
[9] 4552
[10] 4553
[11] 4554
[12] 4555
[2] Done var1=500
[3] Done var2=60
[4] Done var3=10
[5] Done var4=20
[6] Done var5=15
[7] Done var6=Arial
[8] Done var7=center
[9] Done var8=FFFFFF
root@server [~]# -bash: ab: command not found

[1] Exit 127 ab -n 100 -c 10 http://www.example.com/script.php?var=123
[10] Done var9=000000
[11]- Done var10=FFFFCC
[12]+ 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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 20, 2004
votes: 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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 1, 2002
votes: 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 "&".

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members