9 More Discussions You Might Find Interesting
1. Web Development
Good afternoon:
I need your help please:
Im new at web applications and i started taking a Ruby on Rails course and as a part of the installations i followed the instructions given on page:
http://railsapps.github.io/installrubyonrails-ubuntu.html
I followed every step and id did not yield... (6 Replies)
Discussion started by: alexcol
6 Replies
2. UNIX for Dummies Questions & Answers
Let's say i have 20 users logged on Server. How can I know how much memory percent used each of them is using with system time in each user? (2 Replies)
Discussion started by: roy1912
2 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
Can you please tell me the command, with which one can know the amount of space a specific directory has used.
df -k . ---> Displays, the amount of space allocated, and used for a directory.
du -k <dir name> - gives me the memory used of all the files inside <dir>
But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies
4. Shell Programming and Scripting
Hi everyone,
I am just wondering, is there any way to do something like put text on line 1 of the terminal window and then set the window's display to start at line 2, so that the text in line 1 is always on the screen?
-patrick (1 Reply)
Discussion started by: patrick99e99
1 Replies
5. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
6. Web Development
Hi all,
I am a newbie to servlet programming using webrick...
Was wondering how to accept data from a form and do necessary
processing..
To start with i wrote a sample servlet that accepts a name and prints
"welcome <name>"
But I do not know how to take this value from the form into the... (0 Replies)
Discussion started by: wrapster
0 Replies
7. Solaris
Hi,
I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP.
I want the oids for above tasks.
can you please tell me that
Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies
8. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
9. Programming
how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries
through a c program or java program
i want to store that data into database so i can show it graphically
thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies
RACKUP(1) RACKUP(1)
NAME
rackup
rackup(1) -- An utility for run Rack-based applications
SYNOPSIS
rackup [ruby options] [rack options] [rackup config]
DESCRIPTION
Rackup is a useful tool for running Rack applications, which uses the Rack::Builder DSL to configure middleware and build up applications
easily.
rackup automatically figures out the environment it is run in, and runs your application as FastCGI, CGI, or standalone with Mongrel or
WEBrick -all from the same configuration.
OPTIONS
Ruby options:
-e, --eval [LINE]
evaluate a LINE of code
-d, --debug
set debugging flags (set $DEBUG to true)
-w, --warn
turn warnings on for your script
-I, --include [PATH]
specify $LOAD_PATH (may be used more than once)
-r, --require [LIBRARY]
require the library, before executing your script
Rack options:
-s, --server [SERVER]
serve using SERVER (webrick/mongrel)
-o, --host [HOST]
listen on HOST (default: 0.0.0.0)
-p, --port [PORT]
use PORT (default: 9292)
-E, --env [ENVIRONMENT]
use ENVIRONMENT for defaults (default: development)
-D, --daemonize
run daemonized in the background
-P, --pid [FILE]
file to store PID (default: rack.pid)
Common options:
-h, --help
Show the help message
--version
Show version
EXAMPLES
This is a simple example on how to start an application based on Rack with rackup:
$ rackup -Ilib blog/config.ru
[2010-12-10 15:01:11] INFO WEBrick 1.3.1
[2010-12-10 15:01:11] INFO ruby 1.9.2 (2010-08-18) [x86_64-linux]
[2010-12-10 15:01:11] INFO WEBrick::HTTPServer#start: pid=4496 port=9292
AUTHORS
Copyright (C) 2007, 2008, 2009, 2010 Christian Neukirchen <http://purl.org/net/chneukirchen>
For a complete list of authors and contributors to the project, please take a look here https://github.com/rack/rack/contributors
This manual page was written by Ermenegildo Fiorito fiorito.g@gmail.com for the Debian Project
SEE ALSO
ruby(1) http://rack.rubyforge.org
December 2010 RACKUP(1)