got this one:
ubuntu@ip-10-254-36-45:~$ maxconnections check 248
ubuntu@ip-10-254-36-45:~$ darkcoind getinfo
{
"version" : 101220,
"protocolversion" : 70030,
"walletversion" : 60000,
"balance" : 18591.15356589,
"anonymized_balance" : 0.00000000,
"blocks" : 12893...