Find the user under which a Ubuntu service runs?
You can use ps -ef
to known who is running cassandra.
All services are located in /etc/init.d/
.
If you are not running cassandra as a service, you can search where is the program with the whereis
command:
$ whereis cassandra