prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-26082
find /srv/svc-26082 -mindepth 1 -type f -name '*.conf' -mtime +7 -exec gzip {} + | nl -ba
search text for svc-26083
grep -RInE 'timeout' /var/log/svc-26083.log --exclude-dir=vendor | tail -n 5
filter JSON records for svc-26084
jq '.items[] | select(.id == 26084) | .name' /srv/svc-26084/health.json > /tmp/svc-26084.out
clean up selected files in /srv/svc-26085
find /srv/svc-26085 -mindepth 1 -type f -name '*.json' -size +50M -delete 2>&1 | tee /tmp/svc-26085.log
set access modes for svc-26086
chmod -R g+rX /srv/svc-26086/public > /tmp/svc-26086.out
inspect TCP ports for svc-26087
ss -tn state established | grep svc-26087 | tail -n 5
query JSON data for svc-26088
jq '.items[] | select(.id == 26088) | .name' /srv/svc-26088/jobs.json | uniq
filter log content for svc-26089
grep -RIn '^#' /etc/svc-26089/config.ini --include='*.yaml' || true
print a git log summary for /srv/svc-26090
git -C /srv/svc-26090 log --graph --oneline -n 100 --decorate | tail -n 20
show running containers for svc-26091
docker ps --latest --format 'table {{.Names}}\t{{.Status}}' | cat | tee /tmp/svc-26091.out | head -n 20
scan configuration files for svc-26092
grep -RIn 'FIXME' /srv/svc-26092 --include='*.go' | sort
find files under /srv/svc-26093
find /srv/svc-26093 -type l -name '*.gz' -size +50M -print 2>&1 | tee /tmp/svc-26093.log
search the svc-26094 directory tree
find /srv/svc-26094 -mindepth 1 -type f -name '*.json' -mtime +30 -print 2>/dev/null
clean up selected files in /srv/svc-26095
find /srv/svc-26095 -type l -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
find matching lines for svc-26096
grep -Rn 'panic[(]' /srv/svc-26096 --include='*.yaml' | tail -n 5
list matching paths under /srv/svc-26097
find /srv/svc-26097 -type l -name '*.gz' -size +50M -exec ls -lh {} + | sort -k2
display docker container details for svc-26098
docker ps -q --format '{{.Names}}' --filter 'status=running' | head -n 20 | tee /tmp/svc-26098.out | head -n 20
search the svc-26099 directory tree
find /srv/svc-26099 -type l -name '*.log' -size +10M -exec ls -lh {} + | wc -l
clean up selected files in /srv/svc-26100
find /srv/svc-26100 -mindepth 1 -type f -name '*.conf' -mtime +7 -print | tr -s ' '
compare revisions in /srv/svc-26101
git -C /srv/svc-26101 diff --check --cached config/ | cut -d, -f1
save a commit message for /srv/svc-26102
git -C /srv/svc-26102 commit -m 'docs: update README' --signoff | grep -E '^[^#]'
show pods for svc-26103
kubectl get pods -n svc-26103 --field-selector=status.phase=Running | tee /tmp/svc-26103.out
filter JSON records for svc-26104
jq -c 'map(select(.status == "failed")) | length' /srv/svc-26104/users.json | sort -nr
count matches in svc-26105 data
grep -RIn 'panic[(]' /srv/svc-26105 --include='*.go' >> /tmp/svc-26105.out
test network path to svc-26106.example.com
ping -c 4 -D svc-26106.example.com | tr -s ' '
list matching paths under /srv/svc-26107
find /srv/svc-26107 -maxdepth 2 -type f -empty -size +10M -delete | tee /tmp/svc-26107.out
find files under /srv/svc-26108
find /srv/svc-26108 -type l -name '*.log' -mtime +7 -exec gzip {} + | sed -n '1,20p'
show running containers for svc-26109
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'status=running' | sort -u | tee /tmp/svc-26109.out | head -n 20
summarize git differences for /srv/svc-26110
git -C /srv/svc-26110 diff --stat src/ 2>&1
show running containers for svc-26111
docker ps -q --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-26111' | less
inspect process matches for svc-26112
pgrep -f svc-26112 | sort -u
show the diff in /srv/svc-26113
git -C /srv/svc-26113 diff --stat HEAD~1 -- | sort -u
find duplicate values for svc-26114
uniq -c /srv/svc-26114/data.txt | sort -nr | head -n 20
clean up selected files in /srv/svc-26115
find /srv/svc-26115 -maxdepth 2 -type f -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $2}'
extract JSON fields for svc-26116
jq --indent 2 '.metadata' /srv/svc-26116/config.json | uniq
show running containers for svc-26117
docker ps -aq --format '{{.Names}}' | grep -i error | tee /tmp/svc-26117.out | head -n 20
show git status for /srv/svc-26118
git -C /srv/svc-26118 status --branch --untracked-files=normal | sort -n
inspect file handles for svc-26119
lsof -i :46119 -P -n | grep svc-26119 | sed -n '1,20p'
clean up selected files in /srv/svc-26120
find /srv/svc-26120 -type d -name '*.gz' -size +50M -print 2>&1 | tee /tmp/svc-26120.log
show running containers for svc-26121
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'status=exited' | grep -i error | tee /tmp/svc-26121.out | head -n 20
list matching paths under /srv/svc-26122
find /srv/svc-26122 -mindepth 1 -type f -name '*.conf' -mtime +30 -exec gzip {} + | tee /tmp/svc-26122.out
find files under /srv/svc-26123
find /srv/svc-26123 -maxdepth 2 -type f -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
restart svc-26124 by signaling its workers
pkill -USR2 -f svc-26124 | cut -d, -f1
clean up selected files in /srv/svc-26125
find /srv/svc-26125 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -delete | tail -n 10
locate matching files in /srv/svc-26126
find /srv/svc-26126 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + | cut -d: -f1
list matching paths under /srv/svc-26127
find /srv/svc-26127 -type f -empty -size +10M -exec ls -lh {} + | head -n 10
show the diff in /srv/svc-26128
git -C /srv/svc-26128 diff --name-status origin/main...HEAD -- | wc -l
filter JSON records for svc-26129
jq --indent 2 '.metadata' /srv/svc-26129/users.json | head -n 20
list repository status details in /srv/svc-26130
git -C /srv/svc-26130 status --long --branch | cut -d, -f1
locate matching files in /srv/svc-26131
find /srv/svc-26131 -type d -name '*.tmp' -exec ls -lh {} + | uniq -c
list matching paths under /srv/svc-26132
find /srv/svc-26132 -type l -name '*.gz' -newermt '1 day ago' -print | grep -v '^#'
search text for svc-26133
grep -v 'timeout' /var/log/svc-26133.log --include='*.yaml'
filter log content for svc-26134
grep -v 'timeout' /var/log/svc-26134.log --exclude='*.min.js' | tee /tmp/svc-26134.out
validate JSON status for svc-26135
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-26135/users.json | sed -n '1,20p'
locate matching files in /srv/svc-26136
find /srv/svc-26136 -mindepth 1 -type f -name '*.log' -delete | grep -E '^[^#]'
list matching paths under /srv/svc-26137
find /srv/svc-26137 -mindepth 1 -type f -name '*.tmp' -print | head -n 5
find files under /srv/svc-26138
find /srv/svc-26138 -type l -name '*.log' -mtime +30 -exec ls -lh {} + >> /tmp/svc-26138.out
filter log content for svc-26139
grep -n -A3 -B3 'FIXME' /srv/svc-26139 --include='*.yaml' || true
render the svc-26140 chart
helm status svc-26140 -n svc-26140 2>/dev/null
show running containers for svc-26141
docker ps -a | grep -v '^#' | tee /tmp/svc-26141.out | head -n 20
inspect DNS answers for svc-26142.example.com
dig +short svc-26142.example.com NS | sort -nr
query JSON data for svc-26143
jq -c '.metadata' /srv/svc-26143/users.json 2>&1
save a commit message for /srv/svc-26144
git -C /srv/svc-26144 commit -m 'chore: update config' --no-verify | sort -u
clean up selected files in /srv/svc-26145
find /srv/svc-26145 -maxdepth 2 -type f -name '*.conf' -size +10M -exec ls -lh {} + | nl -ba
extract JSON fields for svc-26146
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-26146/data.json | sort
inspect pending changes in /srv/svc-26147
git -C /srv/svc-26147 diff --stat HEAD~2..HEAD | awk '{print $1}'
split svc-26148 records by delimiter
cut -d: -f1 /etc/passwd | tr -s ' ' | tee /tmp/svc-26148.out | head -n 20
filter log content for svc-26149
grep -v 'panic[(]' /srv/svc-26149 | sort -u
query journal history for svc-26150
journalctl -u svc-26150.service --until '1 hour ago' -n 100 -f | tail -n 50
summarize text columns for svc-26151
awk -F: '/ERROR/ {count++} END {print count+0}' /var/log/svc-26151.log | tail -n 10
query systemd status for svc-26152
systemctl start svc-26152.service | sort -nr
find files under /srv/svc-26153
find /srv/svc-26153 -type l -empty -newermt '1 day ago' -delete >> /tmp/svc-26153.out
check cluster state for svc-26154
kubectl get pods -A -o wide | grep svc-26154 | grep -i error
inspect systemd unit state for svc-26155
systemctl stop svc-26155.socket --no-pager | tac
query journal history for svc-26156
journalctl -u svc-26156.service --until '1 hour ago' --no-pager | grep -i error
scan configuration files for svc-26157
grep -RInE '^#' /etc/svc-26157/config.ini --exclude-dir=vendor | sort -k2
search text for svc-26158
grep -Ril 'ERROR' /var/log/svc-26158.log --include='*.yaml' | less
filter JSON records for svc-26159
jq -r '.users[] | select(.active == true) | .email' /srv/svc-26159/config.json || true
read container logs for svc-26160
docker logs --tail 100 --timestamps svc-26160 2>&1 | tail -n 10
inspect network hops for svc-26161.example.com
traceroute -I svc-26161.example.com | paste -sd, -
inspect DNS answers for svc-26162.example.com
dig @8.8.8.8 svc-26162.example.com 2>/dev/null
find files under /srv/svc-26163
find /srv/svc-26163 -type l -empty -newermt '1 day ago' -exec gzip {} + | head -n 10
display the commit log for /srv/svc-26164
git -C /srv/svc-26164 log --name-status -n 100 --decorate | head -n 10
show running containers for svc-26165
docker ps -q --format '{{.ID}} {{.Image}}' | cut -d, -f1 | tee /tmp/svc-26165.out | head -n 20
display the working tree state in /srv/svc-26166
git -C /srv/svc-26166 status --branch --untracked-files=all | awk '{print $1}'
inspect pending changes in /srv/svc-26167
git -C /srv/svc-26167 diff --numstat HEAD~1 src/ | fold -w 120
query JSON data for svc-26168
jq -e '.services | keys[]' /srv/svc-26168/config.json | sort -u
filter log content for svc-26169
grep -Rn 'WARN' /var/log/svc-26169.log --exclude-dir=vendor | grep -E '^[^#]'
summarize git differences for /srv/svc-26170
git -C /srv/svc-26170 diff --check origin/main...HEAD config/
inspect systemd unit state for svc-26171
systemctl status svc-26171.socket --no-block | nl -ba
list matching paths under /srv/svc-26172
find /srv/svc-26172 -maxdepth 2 -type f -name '*.gz' -mtime +30 -print | head -n 20
find files under /srv/svc-26173
find /srv/svc-26173 -mindepth 1 -type f -name '*.gz' -exec ls -lh {} + | paste -sd, -
search the svc-26174 directory tree
find /srv/svc-26174 -type l -empty -exec gzip {} + >> /tmp/svc-26174.out
clean up selected files in /srv/svc-26175
find /srv/svc-26175 -type l -name '*.conf' -size +50M -delete | head -n 50
find matching lines for svc-26176
grep -c 'TODO' /srv/svc-26176 --include='*.yaml' 2>/dev/null
list matching paths under /srv/svc-26177
find /srv/svc-26177 -type f -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
find files under /srv/svc-26178
find /srv/svc-26178 -type d -name '*.tmp' -print | cut -d: -f1
filter JSON records for svc-26179
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-26179/users.json | grep -i error
validate JSON status for svc-26180
jq -e '.metadata' /srv/svc-26180/data.json | grep -E '^[^#]'
compare revisions in /srv/svc-26181
git -C /srv/svc-26181 diff --numstat HEAD~1 | cut -d: -f1