You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by JEFFERY SCHMITZ <je...@mac.com> on 2010/04/05 19:20:42 UTC

Grep for what?

Warning this is a newbie question - 

On startup I get

[root@marduk bin]# ./cassandra -f
Listening for transport dt_socket at address: 8888
INFO - Sampling index for /var/lib/cassandra/data/system/LocationInfo-1-Data.db
INFO - Replaying /var/lib/cassandra/commitlog/CommitLog-1270047913578.log
INFO - LocationInfo has reached its threshold; switching in a fresh Memtable
INFO - Enqueuing flush of Memtable(LocationInfo)@2132679615
INFO - Sorting Memtable(LocationInfo)@2132679615
INFO - Writing Memtable(LocationInfo)@2132679615
INFO - Completed flushing /var/lib/cassandra/data/system/LocationInfo-2-Data.db
INFO - Log replay complete
INFO - Saved Token found: 75598148438183751486026363636316999593
INFO - Starting up server gossip
INFO - Cassandra starting up...

Okay so its running I can't figure out what the PID is?? - grepping for cassandra or apache turns up zip - 

Thanks - 

Jeffery


Re: Grep for what?

Posted by Benjamin Black <b...@b3k.us>.
ps auxww | grep cassandra

(and upgrade to 0.6)

On Mon, Apr 5, 2010 at 10:20 AM, JEFFERY SCHMITZ <je...@mac.com> wrote:
> Warning this is a newbie question -
>
> On startup I get
>
> [root@marduk bin]# ./cassandra -f
> Listening for transport dt_socket at address: 8888
> INFO - Sampling index for /var/lib/cassandra/data/system/LocationInfo-1-Data.db
> INFO - Replaying /var/lib/cassandra/commitlog/CommitLog-1270047913578.log
> INFO - LocationInfo has reached its threshold; switching in a fresh Memtable
> INFO - Enqueuing flush of Memtable(LocationInfo)@2132679615
> INFO - Sorting Memtable(LocationInfo)@2132679615
> INFO - Writing Memtable(LocationInfo)@2132679615
> INFO - Completed flushing /var/lib/cassandra/data/system/LocationInfo-2-Data.db
> INFO - Log replay complete
> INFO - Saved Token found: 75598148438183751486026363636316999593
> INFO - Starting up server gossip
> INFO - Cassandra starting up...
>
> Okay so its running I can't figure out what the PID is?? - grepping for cassandra or apache turns up zip -
>
> Thanks -
>
> Jeffery
>
>

RE: Grep for what?

Posted by Stu Hood <st...@rackspace.com>.
The actual process is `java`, which should have 'cassandra' as an argument. Make sure to use a variant of `ps` that shows the full command.


-----Original Message-----
From: "JEFFERY SCHMITZ" <je...@mac.com>
Sent: Monday, April 5, 2010 12:20pm
To: dev@cassandra.apache.org
Subject: Grep for what?

Warning this is a newbie question - 

On startup I get

[root@marduk bin]# ./cassandra -f
Listening for transport dt_socket at address: 8888
INFO - Sampling index for /var/lib/cassandra/data/system/LocationInfo-1-Data.db
INFO - Replaying /var/lib/cassandra/commitlog/CommitLog-1270047913578.log
INFO - LocationInfo has reached its threshold; switching in a fresh Memtable
INFO - Enqueuing flush of Memtable(LocationInfo)@2132679615
INFO - Sorting Memtable(LocationInfo)@2132679615
INFO - Writing Memtable(LocationInfo)@2132679615
INFO - Completed flushing /var/lib/cassandra/data/system/LocationInfo-2-Data.db
INFO - Log replay complete
INFO - Saved Token found: 75598148438183751486026363636316999593
INFO - Starting up server gossip
INFO - Cassandra starting up...

Okay so its running I can't figure out what the PID is?? - grepping for cassandra or apache turns up zip - 

Thanks - 

Jeffery




Re: Grep for what?

Posted by Jeff Schmitz <je...@me.com>.
Great thanks!!

Sent from my iPhone

On Apr 5, 2010, at 5:43 PM, Jonathan Ellis <jb...@gmail.com> wrote:

> Eric added a pid explanation to
> http://wiki.apache.org/cassandra/RunningCassandra.  Hope that helps!
>
> On Mon, Apr 5, 2010 at 12:20 PM, JEFFERY SCHMITZ <jefferyschmitz@mac.com 
> > wrote:
>> Warning this is a newbie question -
>>
>> On startup I get
>>
>> [root@marduk bin]# ./cassandra -f
>> Listening for transport dt_socket at address: 8888
>> INFO - Sampling index for /var/lib/cassandra/data/system/ 
>> LocationInfo-1-Data.db
>> INFO - Replaying /var/lib/cassandra/commitlog/ 
>> CommitLog-1270047913578.log
>> INFO - LocationInfo has reached its threshold; switching in a fresh  
>> Memtable
>> INFO - Enqueuing flush of Memtable(LocationInfo)@2132679615
>> INFO - Sorting Memtable(LocationInfo)@2132679615
>> INFO - Writing Memtable(LocationInfo)@2132679615
>> INFO - Completed flushing /var/lib/cassandra/data/system/ 
>> LocationInfo-2-Data.db
>> INFO - Log replay complete
>> INFO - Saved Token found: 75598148438183751486026363636316999593
>> INFO - Starting up server gossip
>> INFO - Cassandra starting up...
>>
>> Okay so its running I can't figure out what the PID is?? - grepping  
>> for cassandra or apache turns up zip -
>>
>> Thanks -
>>
>> Jeffery
>>
>>

Re: Grep for what?

Posted by Jonathan Ellis <jb...@gmail.com>.
Eric added a pid explanation to
http://wiki.apache.org/cassandra/RunningCassandra.  Hope that helps!

On Mon, Apr 5, 2010 at 12:20 PM, JEFFERY SCHMITZ <je...@mac.com> wrote:
> Warning this is a newbie question -
>
> On startup I get
>
> [root@marduk bin]# ./cassandra -f
> Listening for transport dt_socket at address: 8888
> INFO - Sampling index for /var/lib/cassandra/data/system/LocationInfo-1-Data.db
> INFO - Replaying /var/lib/cassandra/commitlog/CommitLog-1270047913578.log
> INFO - LocationInfo has reached its threshold; switching in a fresh Memtable
> INFO - Enqueuing flush of Memtable(LocationInfo)@2132679615
> INFO - Sorting Memtable(LocationInfo)@2132679615
> INFO - Writing Memtable(LocationInfo)@2132679615
> INFO - Completed flushing /var/lib/cassandra/data/system/LocationInfo-2-Data.db
> INFO - Log replay complete
> INFO - Saved Token found: 75598148438183751486026363636316999593
> INFO - Starting up server gossip
> INFO - Cassandra starting up...
>
> Okay so its running I can't figure out what the PID is?? - grepping for cassandra or apache turns up zip -
>
> Thanks -
>
> Jeffery
>
>