Thanks Anodos! Cannot paste... it trunks some datas so I'm attaching a screen capture.
Edit: forgot piping jq.
Warning: settings changed through the CLI are not written to
the configuration database and will be reset on reboot.
root@freenas[~]# midclt call service.query | jq
[
{
"id": 2,
"service": "afp",
"enable": false,
"state": "STOPPED",
"pids": []
},
{
"id": 4,
"service": "cifs",
"enable": true,
"state": "RUNNING",
"pids": []
},
{
"id": 5,
"service": "dynamicdns",
"enable": false,
"state": "STOPPED",
"pids": []
},
{
"id": 6,
"service": "ftp",
"enable": false,
"state": "STOPPED",
"pids": []
},
{
"id": 7,
"service": "iscsitarget",
"enable": false,
"state": "STOPPED",
"pids": []
},
{
"id": 9,
"service": "nfs",
"enable": false,
"state": "STOPPED",
"pids": []
},
{
"id": 10,
"service": "snmp",
"enable": false,
"state": "STOPPED",
"pids": []
},
{
"id": 11,
"service": "ssh",
"enable": true,
"state": "RUNNING",
"pids": [
1291
]
},
{
"id": 12,
"service": "tftp",
"enable": false,
"state": "STOPPED",
"pids": []
},
{
"id": 14,
"service": "ups",
"enable": false,
"state": "STOPPED",
"pids": []
},
{
"id": 16,
"service": "rsync",
"enable": false,
"state": "STOPPED",
"pids": []
},
{
"id": 18,
"service": "smartd",
"enable": true,
"state": "RUNNING",
"pids": [
1273
]
},
{
"id": 21,
"service": "lldp",
"enable": false,
"state": "STOPPED",
"pids": []
},
{
"id": 22,
"service": "webdav",
"enable": false,
"state": "STOPPED",
"pids": []
},
{
"id": 23,
"service": "s3"
"enable": false,
"state": "STOPPED",
"pids": []
},