homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

SSH returned this, what does it mean?

10+ Year Member

Msg#: 4128184 posted 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
[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.



WebmasterWorld Senior Member 10+ Year Member

Msg#: 4128184 posted 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...]


WebmasterWorld Senior Member 10+ Year Member

Msg#: 4128184 posted 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 "&".

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved