$ ${SOLR_ROOT}/bin/solr status
Here's the output of running this command on my localhost where I have 2 Solr instances and 1 ZooKeeper instance.
Found 2 Solr nodes:
Solr process 7306 running on port 8984
{
"solr_home":"/opt/solr-i2/server/solr",
"version":"9.8.1 d998e63978abfedde3b75bab4ba6e1e78ddb5944 - magibney - 2023-01-17 19:58:00",
"startTime":"2023-03-05T00:03:29.088Z",
"uptime":"0 days, 0 hours, 29 minutes, 33 seconds",
"memory":"144.4 MB (%28.2) of 512 MB",
"cloud":{
"ZooKeeper":"localhost:2181/solr",
"liveNodes":"2",
"collections":"0"
}
}
Solr process 7214 running on port 8983
{
"solr_home":"/opt/solr-i1/server/solr",
"version":"9.8.1 d998e63978abfedde3b75bab4ba6e1e78ddb5944 - magibney - 2023-01-17 19:58:00",
"startTime":"2023-03-05T00:03:12.286Z",
"uptime":"0 days, 0 hours, 29 minutes, 52 seconds",
"memory":"225.9 MB (%44.1) of 512 MB",
"cloud":{
"ZooKeeper":"localhost:2181/solr",
"liveNodes":"2",
"collections":"0"
}
}