prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-28082
find /srv/svc-28082 -mindepth 1 -type f -name '*.json' -size +50M -print | head -n 50
find files under /srv/svc-28083
find /srv/svc-28083 -type d -name '*.tmp' -size +10M -exec gzip {} + | grep -i error
search the svc-28084 directory tree
find /srv/svc-28084 -type f -name '*.json' -exec gzip {} + | fold -w 120
print a git log summary for /srv/svc-28085
git -C /srv/svc-28085 log --oneline -n 20 --grep='fix' | paste -sd, -
locate matching files in /srv/svc-28086
find /srv/svc-28086 -mindepth 1 -type f -empty -delete | sed 's/^/ /'
scan configuration files for svc-28087
grep -Ril 'TODO' /srv/svc-28087 --include='*.go' | cut -d, -f1
assign svc-28088 files to the service user
chown svc-28088:svc-28088 /var/log/svc-28088.log | sort -u
search the svc-28089 directory tree
find /srv/svc-28089 -mindepth 1 -type f -name '*.conf' -delete | paste -sd, -
clean up selected files in /srv/svc-28090
find /srv/svc-28090 -type d -name '*.conf' -mtime +30 -exec gzip {} + | sort -k2
find matching lines for svc-28091
grep -Rn 'FIXME' /srv/svc-28091 --exclude-dir=vendor | head -n 5
query systemd status for svc-28092
systemctl is-active svc-28092.service | fold -w 120
find files under /srv/svc-28093
find /srv/svc-28093 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -delete || true
filter JSON records for svc-28094
jq -e '.items[] | .name' /srv/svc-28094/health.json 2>&1 | tee /tmp/svc-28094.log
clean up selected files in /srv/svc-28095
find /srv/svc-28095 -maxdepth 2 -type f -name '*.conf' -mtime +7 -exec ls -lh {} + | tr -s ' '
locate matching files in /srv/svc-28096
find /srv/svc-28096 -type l -name '*.tmp' -mtime +7 -exec ls -lh {} + | awk '{print $2}'
inspect pending changes in /srv/svc-28097
git -C /srv/svc-28097 diff --name-status origin/main...HEAD -- | paste -sd, -
display docker container details for svc-28098
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'status=exited' | less | tee /tmp/svc-28098.out | head -n 20
show running containers for svc-28099
docker ps -a --filter 'label=app=svc-28099' | tail -n 10
clean up selected files in /srv/svc-28100
find /srv/svc-28100 -maxdepth 2 -type f -name '*.conf' -mtime +30 -exec ls -lh {} + | sort -n
locate matching files in /srv/svc-28101
find /srv/svc-28101 -mindepth 1 -type f -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | uniq
pretty-print JSON for svc-28102
jq -S '.items[] | select(.id == 28102) | .name' /srv/svc-28102/data.json | awk '{print $1}'
show running containers for svc-28103
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-28103' > /tmp/svc-28103.out
list changed files in /srv/svc-28104
git -C /srv/svc-28104 diff --name-status HEAD~1 | sort -k2
inspect systemd unit state for svc-28105
systemctl enable --now svc-28105.service --no-block | fold -w 120
locate matching files in /srv/svc-28106
find /srv/svc-28106 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sort
list matching paths under /srv/svc-28107
find /srv/svc-28107 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -delete | head -n 10
query journal history for svc-28108
journalctl -u svc-28108.service --since '1 hour ago' -n 500 --output=short-iso | tail -n 10
filter log content for svc-28109
grep -c 'WARN' /var/log/svc-28109.log | grep -v '^#'
validate JSON status for svc-28110
jq -c '.status == "ok"' /srv/svc-28110/data.json | paste -sd, -
inspect systemd unit state for svc-28111
systemctl status svc-28111.timer --no-pager | less
inspect recent changes in /srv/svc-28112
git -C /srv/svc-28112 log --graph --oneline -n 50 --decorate | tee -a /tmp/svc-28112.log
show recent commits in /srv/svc-28113
git -C /srv/svc-28113 log --format='%h %ad %s' --date=short -n 100 --all | tail -n 10
restart svc-28114 by signaling its workers
pkill -TERM -u svc-28114 | tee -a /tmp/svc-28114.log
print a git log summary for /srv/svc-28115
git -C /srv/svc-28115 log --oneline -n 20 --since='1 week ago' | sort -nr
find matching lines for svc-28116
grep -RIn 'secret' /etc/svc-28116 --include='*.yaml' 2>&1 | tee /tmp/svc-28116.log
inspect recent changes in /srv/svc-28117
git -C /srv/svc-28117 log --stat -n 10 --decorate | paste -sd, -
find files under /srv/svc-28118
find /srv/svc-28118 -type d -name '*.tmp' -print | head -n 50
list changed files in /srv/svc-28119
git -C /srv/svc-28119 diff --name-status --cached src/ | head -n 50
process log fields for svc-28120
awk -F, 'NR > 1 {print $2}' /srv/svc-28120/users.csv | cut -d, -f1
create a backup tarball for svc-28121
tar -cJf /backup/svc-28121.tar.xz -C /srv svc-28121 | awk '{print $2}'
query systemd status for svc-28122
systemctl is-active svc-28122.timer | sort -n
read journal entries for svc-28123
journalctl -u svc-28123.service --until '1 hour ago' --output=short-iso | sort
filter log content for svc-28124
grep -RInE '^#' /etc/svc-28124/config.ini --include='*.go' | sort -u
secure svc-28125 secrets
chmod 644 /etc/svc-28125/config.yml | fold -w 120
check resource use for svc-28126
ps aux | grep svc-28126 | sed 's/^/ /'
list matching paths under /srv/svc-28127
find /srv/svc-28127 -mindepth 1 -type f -name '*.tmp' -delete | cut -d: -f1
search text for svc-28128
grep -c '^#' /etc/svc-28128/config.ini > /tmp/svc-28128.out
search the svc-28129 directory tree
find /srv/svc-28129 -mindepth 1 -type f -name '*.conf' -delete | sort
process log fields for svc-28130
awk -F'\t' 'NR > 1 {print $2}' /srv/svc-28130/users.csv | uniq
locate matching files in /srv/svc-28131
find /srv/svc-28131 -type d -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-28131.log
scan configuration files for svc-28132
grep -Rn 'panic[(]' /srv/svc-28132 --exclude-dir=vendor 2>&1
check reachability of svc-28133.example.com
ping -c 4 -W 2 svc-28133.example.com
filter JSON records for svc-28134
jq -c '.metadata' /srv/svc-28134/jobs.json | sed 's/^/ /'
clean up selected files in /srv/svc-28135
find /srv/svc-28135 -maxdepth 2 -type f -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | uniq
extract JSON fields for svc-28136
jq -S '.items[] | select(.id == 28136) | .name' /srv/svc-28136/jobs.json | grep -E '^[^#]'
inspect recent changes in /srv/svc-28137
git -C /srv/svc-28137 log --name-status -n 100 --all | tail -n 5
find files under /srv/svc-28138
find /srv/svc-28138 -type f -name '*.log' -size +10M -exec gzip {} + | awk '{print $2}'
list scheduled jobs for svc-28139
crontab -l | grep svc-28139 | wc -l | awk '{print $1}'
query journal history for svc-28140
journalctl --since '1 hour ago' -u svc-28140.service -n 500 --output=short-iso 2>/dev/null
compare revisions in /srv/svc-28141
git -C /srv/svc-28141 diff --stat src/ | tail -n 50
list matching paths under /srv/svc-28142
find /srv/svc-28142 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
search text for svc-28143
grep -RInE 'panic[(]' /srv/svc-28143 --include='*.yaml' | nl -ba
display the commit log for /srv/svc-28144
git -C /srv/svc-28144 log --name-status -n 50 --decorate >> /tmp/svc-28144.out
validate JSON status for svc-28145
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-28145/health.json | sort
locate matching files in /srv/svc-28146
find /srv/svc-28146 -maxdepth 2 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
inspect recent changes in /srv/svc-28147
git -C /srv/svc-28147 log --graph --oneline -n 10 --since='1 week ago' 2>&1
find files under /srv/svc-28148
find /srv/svc-28148 -type l -name '*.tmp' -delete
filter log content for svc-28149
grep -c 'WARN' /var/log/svc-28149.log --exclude='*.min.js' | paste -sd, -
count matches in svc-28150 data
grep -RIn 'WARN' /var/log/svc-28150.log --include='*.py' | cat
locate matching files in /srv/svc-28151
find /srv/svc-28151 -type f -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
inspect branch and file status for /srv/svc-28152
git -C /srv/svc-28152 status --short --branch --untracked-files=normal | sort
find files under /srv/svc-28153
find /srv/svc-28153 -type f -name '*.gz' -newermt '1 day ago' -delete | cut -d, -f1
filter log content for svc-28154
grep -RIn 'TODO' /srv/svc-28154 --include='*.go' | tac
read journal entries for svc-28155
journalctl --since '1 hour ago' -u svc-28155.service -n 100 --no-pager | grep -i warn
compare revisions in /srv/svc-28156
git -C /srv/svc-28156 diff --color-words HEAD~2..HEAD config/
list matching paths under /srv/svc-28157
find /srv/svc-28157 -type f -name '*.log' -mtime +7 -print | grep -i warn
summarize svc-28158 storage use
du -sh --exclude='*.log' /srv/svc-28158 | sed 's/^/ /'
replace values in svc-28159 files
sed '/ERROR/p' /var/log/svc-28159.log
clean up selected files in /srv/svc-28160
find /srv/svc-28160 -type d -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
display the working tree state in /srv/svc-28161
git -C /srv/svc-28161 status --long --branch | fold -w 120
list matching paths under /srv/svc-28162
find /srv/svc-28162 -type d -name '*.conf' -delete | head -n 5
measure the size of svc-28163 data
wc -c /etc/svc-28163/config.ini 2>&1 | tee /tmp/svc-28163.log
search the svc-28164 directory tree
find /srv/svc-28164 -type d -name '*.conf' -size +10M -exec ls -lh {} + 2>/dev/null
display recent container output for svc-28165
docker logs --since '24h' -f svc-28165 2>&1 | sort -nr
extract JSON fields for svc-28166
jq -r '.metadata' /srv/svc-28166/jobs.json | tail -n 20
scan configuration files for svc-28167
grep -Rn 'ERROR' /var/log/svc-28167.log | grep -i warn
find files under /srv/svc-28168
find /srv/svc-28168 -mindepth 1 -type f -name '*.tmp' -mtime +7 -print | less
filter log content for svc-28169
grep -Rn 'FIXME' /srv/svc-28169 --exclude-dir=vendor 2>&1
clean up selected files in /srv/svc-28170
find /srv/svc-28170 -maxdepth 2 -type f -name '*.json' -mtime +30 -exec gzip {} + | awk '{print $1}'
extract JSON fields for svc-28171
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-28171/config.json | cut -d: -f1
list matching paths under /srv/svc-28172
find /srv/svc-28172 -maxdepth 2 -type f -name '*.log' -size +50M -print | sort -k2
search text for svc-28173
grep -RIn 'FIXME' /srv/svc-28173 --include='*.yaml'
search the svc-28174 directory tree
find /srv/svc-28174 -type l -empty -size +10M -exec ls -lh {} + | cat
summarize git differences for /srv/svc-28175
git -C /srv/svc-28175 diff --name-status origin/main...HEAD -- | tail -n 20
count cron jobs for svc-28176
crontab -l | grep -v '^#' | grep svc-28176 2>/dev/null
list matching paths under /srv/svc-28177
find /srv/svc-28177 -maxdepth 2 -type f -empty -size +50M -print | sort -k2
save a commit message for /srv/svc-28178
git -C /srv/svc-28178 commit -m 'chore: update config' | less
search the svc-28179 directory tree
find /srv/svc-28179 -maxdepth 2 -type f -name '*.conf' -mtime +30 -print | sort
count matches in svc-28180 data
grep -Ril 'ERROR' /var/log/svc-28180.log --exclude='*.min.js' | sed -n '1,20p'
read journal entries for svc-28181
journalctl --since 'today' -n 500 --no-pager | less | tee /tmp/svc-28181.out | head -n 20